* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.login-container {
    height: 100vh;
    width: 100vw;
    display: flex;
    margin: 0;
    padding: 0;
    background: #ebeae1;
}

.login-card {
    width: 100%;
    height: 100%;
    display: flex;
    margin: 0;
    padding: 0;
}

.login-image {
    flex: 0 0 70%;
    background: url('../images/fondo_3.png') no-repeat center center;
    background-size: cover;
    background-position: center;
    height: 100vh;
    width: 60vw;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.login-form {
    flex: 0 0 30%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: white;
    height: 100vh;
    width: 40vw;
    margin: 0;
    border: none;
    box-sizing: border-box;
    position: relative;
}

.login-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:#ebeae1;
    z-index: 1;
}

.login-form > * {
    position: relative;
    z-index: 2;
}

.login-form-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo {
    width: 50px;
    height: 50px;
    background: #FFD700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    font-size: 12px;
    font-weight: 600;
    color: #2D1B1B;
    font-family: 'Inter', sans-serif;
    text-align: center;
    line-height: 1;
}

.brand-name {
    font-size: 45px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
}

.login-subtitle {
    color: #6b7280;
    font-size: 20px;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.form-group {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: #2D1B1B;
    font-weight: 500;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #FFD700;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.google-signin-btn {
    width: 100%;
    max-width: 300px;
    border: none;
    border-radius: 8px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #1a1a1a;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.google-signin-btn:hover {
    background: #F4C430;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.25);
}

.google-icon {
    width: 18px;
    height: 18px;
    margin-right: 8px;
}

.signin-button {
    width: 100%;
    background: #FFD700;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    color: #2D1B1B;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.signin-button:hover {
    background: #F4C430;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.forgot-password {
    margin-top: 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    color: #FFD700;
}

.error-message {
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    text-align: center;
    display: none;
    border: 1px solid #fecaca;
}

.success-message {
    background: #f0fdf4;
    color: #16a34a;
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    font-size: 13px;
    text-align: center;
    display: none;
    border: 1px solid #bbf7d0;
}

.loading {
    display: none;
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-top: 8px;
    font-family: 'Inter', sans-serif;
}

.trouble-link {
    margin-top: 24px;
    color: #6b7280;
    text-decoration: none;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
}

.trouble-link:hover {
    color: #FFD700;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .login-container {
        flex-direction: column;
        height: 100vh;
        width: 100vw;
    }
    
    .login-card {
        flex-direction: column;
        height: 100vh;
        width: 100vw;
    }
    
    .login-image {
        width: 100vw;
        height: 40vh;
        min-height: 40vh;
    }
    
    .login-form {
        width: 100vw;
        height: 60vh;
        padding: 20px;
    }
    
    .login-form-card {
        padding: 40px 24px;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
        max-width: none;
        width: 100%;
        margin-top: -20px;
    }
    
    .brand-name {
        font-size: 24px;
    }
    
    .login-subtitle {
        font-size: 13px;
        margin-bottom: 24px;
    }
}