/* ==========================================
   Clean Split-Screen Login Design
   ========================================== */

:root {
    --primary-blue: #091b51;
    --accent-blue: #00d2ff;
    --text-main: #1a1a1a;
    --text-muted: #666;
    --white: #ffffff;
    --bg-light: #f4f7fa;
    --border-color: #e1e8ef;
    --accent-gradient: linear-gradient(to left, #00d2ff, #0095ff);
}

* {
    box-sizing: border-box;
}

.login-split-page {
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    background-color: var(--white);
    overflow: hidden;
    height: 100vh;
}

/* Hide scrollbar */
.login-split-page::-webkit-scrollbar,
.login-form-side::-webkit-scrollbar {
    display: none;
}

.login-split-page,
.login-form-side {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.login-split-container {
    display: flex;
    height: 100vh;
    width: 100%;
}

/* Visual Side */
.login-visual-side {
    flex: 1.2;
    background-image: url('../img/login_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 60px;
}

.visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(9, 27, 81, 0.2), rgba(9, 27, 81, 0.8));
}

.visual-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 600px;
    padding-bottom: 20px;
}

.welcome-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 210, 255, 0.15);
    border: 1px solid rgba(0, 210, 255, 0.3);
    border-radius: 50px;
    color: var(--accent-blue);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(5px);
    animation: float 4s ease-in-out infinite;
}

.visual-logo {
    margin-bottom: 30px;
    font-size: 2rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.visual-logo .logo-suda {
    color: var(--white);
    font-weight: 900;
}

.visual-logo .logo-mid,
.visual-logo .logo-dot {
    color: var(--accent-blue);
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}

.text-accent {
    color: var(--accent-blue);
    position: relative;
    display: inline-block;
}

.text-accent::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 0;
    width: 0;
    height: 8px;
    background: rgba(0, 210, 255, 0.25);
    z-index: -1;
    animation: growWidth 1.5s ease-out forwards 0.5s;
}

.highlight-text {
    color: var(--white);
    border-bottom: 2px dashed var(--accent-blue);
}

/* .visual-content h1 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    margin-bottom: clamp(15px, 2vh, 25px);
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
} */

.visual-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.visual-content p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Form Side */
.login-form-side {
    flex: 1;
    background: linear-gradient(rgba(9, 27, 81, 0.4), rgba(9, 27, 81, 0.9)), url('../img/login_bg.png');
    background-size: cover;
    background-position: left;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    color: var(--white);
    position: relative;
    padding: clamp(20px, 5vh, 40px) 20px;
}

.form-scroll-container {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 450px;
    margin: auto;
}

.form-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 32px;
    padding: clamp(25px, 3vh, 35px) 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-logo-container {
    display: flex;
    justify-content: center;
    margin-bottom: clamp(15px, 2vh, 25px);
}

.logo.form-logo-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 8px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-logo-badge .logo-suda {
    color: var(--white);
    /* font-weight: 800; */
}

.form-logo-badge .logo-mid,
.form-logo-badge .logo-dot {
    color: var(--accent-blue);
}

.login-header {
    text-align: center;
    margin-bottom: clamp(15px, 2.5vh, 25px);
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

.login-header h2 i {
    color: var(--accent-blue);
    font-size: 1.3rem;
}

.login-header p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.form-group-modern {
    margin-bottom: clamp(12px, 1.8vh, 18px);
}

.form-group-modern label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.form-group-modern label i {
    color: var(--accent-blue);
}

.form-group-modern input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--white);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group-modern input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 4px rgba(0, 210, 255, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(15px, 2vh, 25px);
    font-size: 0.9rem;
}

.forgot-link {
    color: rgba(255, 255, 255, 0.6);
    transition: 0.3s;
}

.forgot-link:hover {
    color: var(--accent-blue);
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    position: relative;
    transition: 0.3s;
}

.checkbox-container input {
    display: none;
}

.checkbox-container input:checked+.checkmark {
    background: var(--accent-blue);
    border-color: var(--accent-blue);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid var(--primary-blue);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-container input:checked+.checkmark::after {
    display: block;
}

.btn-login-modern {
    width: 100%;
    padding: 13px;
    background: var(--accent-gradient);
    border: none;
    border-radius: 12px;
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 1.1rem;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.btn-login-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-login-modern:hover::before {
    left: 100%;
}

.btn-login-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 210, 255, 0.3);
}

.back-to-home {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: clamp(15px, 2vh, 25px);
    color: rgba(255, 255, 255, 0.5);
    font-weight: 700;
    transition: 0.3s;
}

.back-to-home:hover {
    color: var(--white);
}

/* Animations */
@keyframes float {

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

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

@keyframes growWidth {
    to {
        width: 100%;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .login-split-page {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .login-split-container {
        height: auto;
        min-height: 100vh;
        flex-direction: column;
    }

    .login-visual-side {
        display: none;
    }

    .login-form-side {
        height: auto;
        min-height: 100vh;
        padding: 40px 20px;
    }
}

@media (max-height: 850px) and (min-width: 1025px) {
    .visual-content h1 {
        font-size: clamp(1.8rem, 3vh, 2.8rem);
    }

    .visual-content p {
        font-size: 1rem;
    }

    .form-card {
        padding: 30px;
    }

    .form-logo-container,
    .login-header {
        margin-bottom: 20px;
    }

    .back-to-home {
        margin-top: 20px;
    }
}

@media (max-width: 480px) {
    .form-card {
        padding: 30px 20px;
    }

    .login-form-side {
        padding: 20px 15px;
    }
}