/* Auth Pages Styles */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem 2rem 2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-color) 100%);
}

.auth-box {
    display: flex;
    background: white;
    border-radius: 1rem;
    width: 100%;
    max-width: 1000px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    margin-top: 1rem;
    overflow: hidden;
}

.auth-illustration {
    flex: 1;
    background: #f8fafc;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-illustration::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-color);
    opacity: 0.1;
}

.auth-illustration img {
    max-width: 80%;
    height: auto;
    margin-bottom: 1.5rem;
}

.auth-illustration h3 {
    color: var(--dark-color);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.auth-illustration h3 .highlight {
    color: var(--primary-color);
}

.auth-illustration p {
    color: var(--grey-color);
    font-size: 1rem;
    max-width: 80%;
}

.auth-form-container {
    flex: 1;
    padding: 2rem;
    max-width: 500px;
}

.auth-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--grey-color);
    font-size: 1rem;
}

.auth-form .form-group {
    margin-bottom: 1rem;
}

.auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.auth-form label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
    color: var(--dark-color);
}

.auth-form input:not([type="checkbox"]),
.auth-form .form-select {
    width: 100%;
    padding: 0.6rem 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.auth-form input:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(69, 123, 157, 0.1);
    outline: none;
}

.password-input {
    position: relative;
}

.toggle-password {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--grey-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.toggle-password:hover {
    color: var(--dark-color);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grey-color);
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

.forgot-password {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--secondary-color);
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
}

.social-divider {
    text-align: center;
    margin: 1rem 0;
    position: relative;
}

.social-divider::before,
.social-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: calc(50% - 4rem);
    height: 1px;
    background-color: #e2e8f0;
}

.social-divider::before {
    left: 0;
}

.social-divider::after {
    right: 0;
}

.social-divider span {
    background-color: white;
    padding: 0 1rem;
    color: var(--grey-color);
    font-size: 0.9rem;
}

.social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: white;
    border: 2px solid #e2e8f0;
    color: var(--dark-color);
    padding: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-social:hover {
    background-color: #f8fafc;
    transform: translateY(-2px);
}

.btn-google i {
    color: #ea4335;
}

.btn-facebook i {
    color: #1877f2;
}

.auth-redirect {
    text-align: center;
    margin: 0;
    color: var(--grey-color);
}

.auth-redirect a {
    color: var(--accent-color);
    font-weight: 500;
    text-decoration: none;
}

.auth-redirect a:hover {
    color: var(--secondary-color);
}

.terms {
    text-align: center;
    margin-bottom: 1rem;
}

.terms a {
    color: var(--accent-color);
    text-decoration: none;
}

.terms a:hover {
    color: var(--secondary-color);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .auth-container {
        padding: 6rem 1rem 1rem 1rem;
        align-items: flex-start;
        min-height: auto;
    }

    .auth-box {
        flex-direction: column;
        max-width: 500px;
        margin: 0;
    }

    .auth-illustration {
        padding: 1.5rem;
        min-height: auto;
    }

    .auth-illustration img {
        max-width: 50%;
        margin-bottom: 0.5rem;
    }

    .auth-illustration h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .auth-illustration p {
        font-size: 0.9rem;
        margin-bottom: 0;
    }

    .auth-form-container {
        padding: 1.5rem;
    }

    .auth-header {
        margin-bottom: 1rem;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }

    .auth-form .form-row {
        grid-template-columns: 1fr;
        margin-bottom: 1rem;
    }

    .auth-form .form-group {
        margin-bottom: 0.75rem;
    }

    .auth-form input:not([type="checkbox"]),
    .auth-form .form-select {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .btn-block {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .social-buttons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }

    .social-divider {
        margin: 0.75rem 0;
    }

    .form-options {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-container {
        padding: 5rem 0.5rem 0.5rem 0.5rem;
    }

    .auth-box {
        border-radius: 0.5rem;
    }

    .auth-illustration {
        padding: 1rem;
    }

    .auth-illustration img {
        max-width: 40%;
    }

    .auth-form-container {
        padding: 1rem;
    }

    .auth-header h2 {
        font-size: 1.25rem;
    }

    .auth-form label {
        font-size: 0.9rem;
    }
} 