:root {
    --dts-blue: #2563eb;
    --dts-blue-dark: #1e40af;
    --dts-blue-light: #eff6ff;
    --dts-blue-soft: #dbeafe;
    --text-dark: #172033;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --page-background: #f5f7fb;
}

/* ========================================================= BASE ========================================================= */
body {
    margin: 0;
    min-height: 100vh;
    background: var(--page-background);
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
}

/* ========================================================= LOGIN WRAPPER ========================================================= */
.login-wrapper {
    min-height: 100vh;
    padding: 30px;
}

.login-shell {
    width: 100%;
    max-width: 1050px;
    min-height: 650px;
    background: #fff;
    border-radius: 28px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12), 0 5px 20px rgba(0, 0, 0, 0.05);
}

/* ========================================================= BRAND PANEL ========================================================= */
.brand-panel {
    position: relative;
    width: 48%;
    overflow: hidden;
    padding: 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(145deg, var(--dts-blue) 0%, var(--dts-blue-dark) 100%);
}

/* ========================================================= DECORATIVE CIRCLES ========================================================= */
.brand-panel::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    right: -220px;
    top: -180px;
}

.brand-panel::after {
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    left: -180px;
    bottom: -170px;
}

.brand-content {
    position: relative;
    z-index: 2;
}

/* ========================================================= LOGO ========================================================= */
.brand-logo {
    width: 130px;
    max-width: 100%;
    height: auto;
    margin-bottom: 35px;
    filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.15));
}

/* ========================================================= BRAND TEXT ========================================================= */
.brand-title {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.brand-description {
    color: rgba(255, 255, 255, 0.86);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 390px;
    margin: 0;
}

/* ========================================================= VISUAL ========================================================= */
.visual-area {
    position: relative;
    height: 210px;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-circle {
    position: relative;
    width: 185px;
    height: 185px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.10);
}

.visual-circle::before {
    content: "";
    position: absolute;
    width: 145px;
    height: 145px;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.35);
}

.visual-icon {
    position: relative;
    z-index: 2;
    font-size: 5.5rem;
    color: rgba(255, 255, 255, 0.95);
}

/* ========================================================= FLOATING DOTS ========================================================= */
.floating-dot {
    position: absolute;
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
}

.dot-one {
    top: 25px;
    left: 30%;
}

.dot-two {
    bottom: 30px;
    right: 25%;
    width: 8px;
    height: 8px;
}

.dot-three {
    top: 55px;
    right: 20%;
    width: 6px;
    height: 6px;
}

/* ========================================================= BRAND FOOTER ========================================================= */
.brand-footer {
    position: relative;
    z-index: 2;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

/* ========================================================= LOGIN PANEL ========================================================= */
.login-panel {
    width: 52%;
    padding: 65px 70px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* ========================================================= LOGIN HEADER ========================================================= */
.login-header {
    margin-bottom: 32px;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 12px;
    border-radius: 50px;
    background: var(--dts-blue-light);
    color: var(--dts-blue-dark);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 18px;
}

.security-badge i {
    font-size: 0.8rem;
}

.login-title {
    color: var(--text-dark);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.login-subtitle {
    color: var(--text-muted);
    margin: 0;
    font-size: 0.95rem;
}

/* ========================================================= FORM ========================================================= */
.form-floating {
    position: relative;
}

.form-floating .form-control {
    height: 58px;
    padding-left: 48px;
    padding-right: 48px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: #fafafa;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-floating .form-control:hover {
    border-color: #bfdbfe;
}

.form-floating .form-control:focus {
    background: #fff;
    border-color: var(--dts-blue);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-floating label {
    padding-left: 48px;
    color: #9ca3af;
}

/* ========================================================= INPUT ICON ========================================================= */
.input-icon {
    position: absolute;
    left: 17px;
    top: 20px;
    z-index: 5;
    color: #9ca3af;
    font-size: 1rem;
    pointer-events: none;
}

/* ========================================================= PASSWORD TOGGLE ========================================================= */
.password-toggle {
    position: absolute;
    right: 10px;
    top: 11px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    color: #9ca3af;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.password-toggle:hover {
    background: var(--dts-blue-light);
    color: var(--dts-blue-dark);
}

/* ========================================================= LOGIN BUTTON ========================================================= */
.login-button {
    height: 56px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--dts-blue), var(--dts-blue-dark));
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.25);
    transition: all 0.2s ease;
}

.login-button:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(37, 99, 235, 0.32);
}

.login-button:active {
    transform: translateY(0);
}

/* ========================================================= VALIDATION ========================================================= */
.field-validation-error {
    display: block;
    margin-top: 5px;
    margin-left: 4px;
    font-size: 0.8rem;
}

/* ========================================================= ALERTS ========================================================= */
.login-alert {
    border: none;
    border-radius: 12px;
    font-size: 0.9rem;
}

.login-alert.alert-danger {
    background: #fff1f2;
    color: #be123c;
}

.login-alert.alert-info {
    background: var(--dts-blue-light);
    color: var(--dts-blue-dark);
}

/* ========================================================= FOOTER ========================================================= */
.login-footer {
    margin-top: 28px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.78rem;
    line-height: 1.6;
}

@media (max-width: 1280px) {
    
    .brand-panel {
        padding-top: 20px;
        padding-bottom: 10px;
    }
    
}



/* ========================================================= RESPONSIVE ========================================================= */
@media (max-width: 900px) {
    .login-shell {
        max-width: 600px;
    }

    .brand-panel {
        display: none;
    }

    .login-panel {
        width: 100%;
        padding: 55px 60px;
    }
}

@media (max-width: 576px) {
    .login-wrapper {
        padding: 15px;
    }

    .login-shell {
        min-height: auto;
        border-radius: 20px;
    }

    .login-panel {
        padding: 40px 25px;
    }

    .login-title {
        font-size: 1.7rem;
    }

    .security-badge {
        font-size: 0.72rem;
    }
}