/* Auth Pages - Login & Register Shared Styles */

.auth-page {
    padding: 0 !important;
    background: #ffffff;
}

/* Container - Split Layout */
.auth-container {
    display: grid;
    grid-template-columns: 45% 55%;
    min-height: 100vh;
}

/* ========================================
   LEFT SIDE - IMAGE PANEL
   ======================================== */

.auth-image-panel {
    position: relative;
    background: #e8f5f5;
    overflow: hidden;
}

.auth-image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-photo {
    width: 85%;
    height: 80%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.auth-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(69, 167, 166, 0.1) 0%, rgba(232, 183, 98, 0.05) 100%);
    pointer-events: none;
}

/* Floating Cards on Image */
.auth-image-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    animation: float 3s ease-in-out infinite;
}

.floating-card:first-child {
    bottom: 20%;
    left: 10%;
}

.floating-card.card-2 {
    top: 25%;
    right: 8%;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.floating-card .card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary-soft, rgba(69, 167, 166, 0.1));
    color: var(--primary, #45a7a6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.floating-card .card-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 2px;
}

.floating-card .card-value {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
}

/* ========================================
   RIGHT SIDE - FORM PANEL
   ======================================== */

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px;
    background: #ffffff;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 380px;
}

.auth-form-wrapper.auth-form-register {
    max-width: 480px;
}

/* Brand */
.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auth-brand-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    width: 100%;
}

.auth-brand-logo {
    display: block;
    height: 48px;
    width: auto;
    max-width: 220px;
}

/* Header */
.auth-header {
    margin-bottom: 28px;
}

.auth-title {
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 6px 0;
}

.auth-subtitle {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

/* Form Elements */
.auth-form-wrapper .form-label {
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.auth-form-wrapper .form-control {
    height: 48px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 14px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.auth-form-wrapper .form-control:focus {
    border-color: var(--primary, #45a7a6);
    box-shadow: 0 0 0 3px var(--primary-soft, rgba(69, 167, 166, 0.15));
    outline: none;
}

.auth-form-wrapper .form-control::placeholder {
    color: #9ca3af;
}

/* Forgot Password Link */
.forgot-link {
    font-size: 13px;
    color: var(--primary, #45a7a6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: #3d9695;
    text-decoration: underline;
}

/* Auth Button */
.btn-auth {
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    background: #1f2937;
    border-color: #1f2937;
    color: #ffffff;
    transition: all 0.2s ease;
}

.btn-auth:hover,
.btn-auth:focus,
.btn-auth:focus-visible,
.btn-auth:active,
.btn-auth.active,
.btn-auth:first-child:active {
    background: #1f2937 !important;
    border-color: #1f2937 !important;
    color: #ffffff !important;
    transform: none;
    box-shadow: 0 0 0 3px rgba(31, 41, 55, 0.14) !important;
}

/* Form Check */
.auth-form-wrapper .form-check-input {
    width: 18px;
    height: 18px;
    border: 1px solid #d1d5db;
    border-radius: 4px;
}

.auth-form-wrapper .form-check-input:checked {
    background-color: var(--primary, #45a7a6);
    border-color: var(--primary, #45a7a6);
}

.auth-form-wrapper .form-check-label {
    font-size: 13px;
    color: #6b7280;
    padding-left: 4px;
}

.auth-form-wrapper .form-check-label a {
    color: var(--primary, #45a7a6);
    text-decoration: none;
}

.auth-form-wrapper .form-check-label a:hover {
    text-decoration: underline;
}

/* Footer */
.auth-footer {
    text-align: center;
}

.auth-footer p {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.auth-link {
    color: var(--primary, #45a7a6);
    font-weight: 600;
    text-decoration: none;
}

.auth-link:hover {
    text-decoration: underline;
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 991px) {
    .auth-container {
        grid-template-columns: 1fr;
    }

    .auth-image-panel {
        display: none;
    }

    .auth-form-panel {
        padding: 40px 24px;
    }

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

@media (max-width: 575px) {
    .auth-form-panel {
        padding: 32px 20px;
    }

    .auth-brand-logo {
        height: 42px;
        max-width: 200px;
    }

    .auth-title {
        font-size: 22px;
    }

    .auth-form-wrapper .form-control {
        height: 44px;
    }

    .btn-auth {
        height: 44px;
    }
}
