/* Auth Page Styles */

.auth-body {
    padding-top: 0;
    margin: 0;
    overflow: hidden;
}

/* Back to Home Button */
.btn-back-home {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(203, 222, 255, 0.8);
    border-radius: 999px;
    color: var(--sienar-text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.btn-back-home:hover {
    background: var(--sienar-white);
    color: var(--sienar-purple-deep);
    border-color: var(--sienar-purple-soft);
    box-shadow: 0 6px 16px rgba(93, 143, 230, 0.2);
    transform: translateY(-2px);
}

.btn-back-home i {
    transition: transform 0.3s ease;
}

.btn-back-home:hover i {
    transform: translateX(-3px);
}

.auth-container {
    min-height: 100vh;
    height: 100vh;
    overflow: hidden;
}

.auth-container .row {
    height: 100%;
}

/* Left Side - Illustration */
.auth-illustration-side {
    background: radial-gradient(circle at 20% 30%, var(--sienar-mint-soft) 0, transparent 60%),
                radial-gradient(circle at 80% 70%, var(--sienar-purple-soft) 0, transparent 60%),
                linear-gradient(135deg, #fafdff 0%, #eef5ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.auth-illustration-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.auth-logo {
    display: flex;
    align-items: center;
    color: var(--sienar-text-dark);
}

.auth-illustration-title {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--sienar-blue-soft-dark), var(--sienar-purple-deep));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.auth-illustration-text {
    color: var(--sienar-text-muted);
    font-size: 1rem;
    line-height: 1.6;
}

/* Animation Wrapper */
.auth-animation-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    margin: 2rem 0;
}

.auth-animation-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.circle-1 {
    width: 150px;
    height: 150px;
    background: var(--sienar-blue-soft);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 120px;
    height: 120px;
    background: var(--sienar-mint);
    top: 50%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 100px;
    height: 100px;
    background: var(--sienar-purple-soft);
    bottom: 10%;
    left: 40%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-20px) scale(1.05);
    }
}

/* Doctor-Patient Illustration */
.auth-illustration-image {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-patient-illustration {
    position: relative;
    width: 280px;
    height: 280px;
}

.illustration-icon {
    position: absolute;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: bounce 3s ease-in-out infinite;
}

.doctor-icon {
    background: linear-gradient(135deg, var(--sienar-blue-soft), var(--sienar-blue-soft-dark));
    color: white;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.patient-icon {
    background: linear-gradient(135deg, var(--sienar-mint), var(--sienar-mint-soft));
    color: white;
    top: 15%;
    right: 5%;
    animation-delay: 1s;
}

.medical-icon {
    background: linear-gradient(135deg, var(--sienar-purple-soft), var(--sienar-purple-deep));
    color: white;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Features */
.auth-features {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--sienar-text-muted);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.feature-item i {
    color: var(--sienar-purple-deep);
    font-size: 1rem;
}

/* Right Side - Form */
.auth-form-side {
    background: var(--sienar-white);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    overflow-y: auto;
}

.auth-form-content {
    width: 100%;
    max-width: 450px;
}

.auth-form-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--sienar-text-dark);
}

.auth-form-subtitle {
    font-size: 0.95rem;
}

/* Input with Icon */
.input-with-icon {
    position: relative;
}

.input-with-icon i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--sienar-text-muted);
    font-size: 1.1rem;
    z-index: 1;
}

.input-with-icon .form-control {
    padding-left: 3rem;
    height: 48px;
    border-radius: 12px;
    border: 1px solid #d6def0;
    transition: all 0.3s ease;
}

.input-with-icon .form-control:focus {
    border-color: var(--sienar-blue-soft-dark);
    box-shadow: 0 0 0 0.2rem rgba(93, 143, 230, 0.15);
    padding-left: 3rem;
}

.input-with-icon .form-control:focus + i {
    color: var(--sienar-blue-soft-dark);
}

/* Form Elements */
.form-label {
    font-weight: 600;
    color: var(--sienar-text-dark);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--sienar-purple-deep);
    border-color: var(--sienar-purple-deep);
}

.form-check-input:focus {
    border-color: var(--sienar-blue-soft-dark);
    box-shadow: 0 0 0 0.2rem rgba(93, 143, 230, 0.15);
}

/* Auth Link */
.auth-link {
    color: var(--sienar-purple-deep);
    font-weight: 600;
}

.auth-link:hover {
    color: var(--sienar-blue-soft-dark);
}

/* Divider */
.auth-divider {
    position: relative;
    text-align: center;
    margin: 1.5rem 0;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e0e7f0;
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    font-size: 0.85rem;
    color: var(--sienar-text-muted);
}

/* Social Login Buttons */
.btn-social {
    border-radius: 12px;
    font-size: 0.9rem;
    padding: 0.6rem 1rem;
    border-color: #d6def0;
    color: var(--sienar-text-muted);
    transition: all 0.3s ease;
}

.btn-social:hover {
    background: var(--sienar-bg);
    border-color: var(--sienar-blue-soft);
    color: var(--sienar-text-dark);
}

/* Button */
.btn-sienar {
    height: 48px;
    font-size: 1rem;
}

/* Auth Footer */
.auth-footer {
    border-top-color: #e0e7f0 !important;
}

/* Responsive */
@media (max-width: 991.98px) {
    .auth-illustration-side {
        display: none;
    }

    .auth-form-side {
        padding: 2rem 1.5rem;
    }

    .auth-form-content {
        max-width: 100%;
    }
}

@media (max-width: 575.98px) {
    .auth-form-title {
        font-size: 1.5rem;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .auth-features {
        gap: 0.75rem;
    }

    .btn-back-home {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
}

/* Smooth Transitions */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

input, button, .btn {
    transition: all 0.3s ease;
}
