@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Inter', Arial, sans-serif;
    color: #101828;
}

.login-body {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #f5f8ff;
}

.login-wrapper {
    height: 100vh;
    width: 100%;
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
}

.login-brand-panel {
    position: relative;
    height: 100vh;
    padding: 40px;
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(3, 37, 90, 0.96), rgba(0, 92, 210, 0.82)),
        url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.login-brand-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.32), transparent 35%);
    pointer-events: none;
}

.brand-logo,
.brand-content,
.copyright {
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 18px;
}

.logo-icon {
    width: 72px;
    height: 72px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.28);
    font-size: 24px;
    font-weight: 800;
    backdrop-filter: blur(12px);
}

.brand-logo h1 {
    margin: 0;
    font-size: 42px;
    letter-spacing: -1px;
}

.brand-logo h1 span {
    color: #38bdf8;
}

.brand-logo p {
    margin: 6px 0 0;
    font-size: 15px;
    opacity: 0.9;
}

.brand-content {
    margin-top: 70px;
    max-width: 560px;
}

.brand-content h2 {
    margin: 0 0 18px;
    font-size: 42px;
    letter-spacing: -1px;
}

.brand-content > p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.94;
}

.feature-list {
    margin-top: 42px;
    display: grid;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 18px;
}

.feature-item span {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    font-size: 24px;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.18);
}

.feature-item strong {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
}

.feature-item small {
    font-size: 14px;
    opacity: 0.82;
}

.copyright {
    position: absolute;
    left: 40px;
    bottom: 24px;
    margin: 0;
    font-size: 14px;
    opacity: 0.88;
}

.login-form-panel {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,0.12), transparent 32%),
        linear-gradient(180deg, #f9fbff, #eef4ff);
}

.language-box {
    position: absolute;
    top: 24px;
    right: 48px;
    padding: 12px 18px;
    border-radius: 12px;
    border: 1px solid #d6deee;
    background: rgba(255,255,255,0.85);
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.login-card {
    width: 90%;
    max-width: 560px;
    max-height: 92vh;
    padding: 34px;
    border-radius: 24px;
    background: rgba(255,255,255,0.94);
    border: 1px solid rgba(203, 213, 225, 0.85);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
}

.login-card-icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: grid;
    place-items: center;
    font-size: 28px;
    background: #eaf2ff;
    color: #005eea;
}

.login-card h2 {
    margin: 0;
    text-align: center;
    font-size: 34px;
    letter-spacing: -0.6px;
}

.login-subtitle {
    margin: 10px 0 28px;
    text-align: center;
    color: #667085;
    font-size: 16px;
}

.login-card label {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 14px;
}

.input-group {
    height: 56px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 16px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    background: #ffffff;
}

.input-group span {
    font-size: 18px;
    opacity: 0.75;
}

.input-group input {
    width: 100%;
    border: 0;
    outline: 0;
    font-size: 15px;
    background: transparent;
    color: #101828;
}

.input-group:focus-within {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.form-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: -4px 0 22px;
    gap: 16px;
}

.form-row a {
    color: #005eea;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
}

.remember {
    display: flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #344054;
    font-weight: 500 !important;
}

.remember input {
    width: 18px;
    height: 18px;
}

.btn-primary {
    width: 100%;
    height: 56px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b63f6, #004bd6);
    color: #ffffff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 14px 28px rgba(0, 94, 234, 0.25);
}

.btn-primary:hover {
    transform: translateY(-1px);
}

.btn-outline {
    width: 100%;
    height: 54px;
    border: 1px solid #0b63f6;
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #005eea;
    text-decoration: none;
    font-weight: 800;
    background: #ffffff;
}

.divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 14px;
    margin: 24px 0;
}

.divider span {
    height: 1px;
    background: #d8e0ee;
}

.divider p {
    margin: 0;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
}

.admin-note,
.default-login {
    text-align: center;
    color: #667085;
    font-size: 13px;
    margin: 8px 0 0 0;
}

.default-login {
    color: #475467;
}

.alert-error {
    padding: 12px 14px;
    margin-bottom: 22px;
    border-radius: 12px;
    background: #fff1f2;
    color: #be123c;
    font-size: 14px;
    font-weight: 700;
    border: 1px solid #fecdd3;
}

.login-footer {
    position: absolute;
    bottom: 12px;
    display: flex;
    gap: 30px;
    color: #475467;
    font-size: 13px;
    font-weight: 700;
    opacity: 0.9;
}

@media (max-height: 900px) {
    .login-footer {
        display: none;
    }

    .login-card {
        max-height: 95vh;
    }
}

@media (max-height: 850px) {
    .brand-content {
        margin-top: 45px;
    }

    .brand-content h2 {
        font-size: 34px;
        margin-bottom: 12px;
    }

    .brand-content > p {
        font-size: 16px;
    }

    .feature-list {
        margin-top: 28px;
        gap: 14px;
    }

    .feature-item span {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .feature-item strong {
        font-size: 15px;
    }

    .feature-item small {
        font-size: 13px;
    }

    .login-card {
        transform: scale(0.92);
    }
}

@media (max-height: 720px) {
    .login-card {
        transform: scale(0.84);
    }

    .brand-content {
        margin-top: 30px;
    }

    .feature-list {
        gap: 10px;
    }

    .copyright {
        display: none;
    }
}

@media (max-width: 1000px) {
    .login-body {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }

    .login-wrapper {
        height: auto;
        min-height: 100vh;
        grid-template-columns: 1fr;
        overflow: auto;
    }

    .login-brand-panel {
        display: none;
    }

    .login-form-panel {
        min-height: 100vh;
        height: auto;
        overflow: auto;
        padding: 28px;
    }

    .language-box {
        display: none;
    }

    .login-card {
        width: 100%;
        max-height: none;
        padding: 30px 24px;
        transform: none;
    }

    .login-footer {
        display: none;
    }
}



@media (max-height: 900px) {
    .login-footer {
        display: none !important;
    }
}

















