@import url('/css/global.css');

/* ── Entry Animations ── */
@keyframes dw-fadeUp {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .a {
        animation: dw-fadeUp .55s cubic-bezier(.22,1,.36,1) both;
    }

    .a1 {
        animation-delay: .06s;
    }

    .a2 {
        animation-delay: .15s;
    }

    .a3 {
        animation-delay: .23s;
    }

    .a4 {
        animation-delay: .31s;
    }

    .a5 {
        animation-delay: .43s;
    }
}

/* ── Main Layout ── */
.dw-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10% 20px;
    background: var(--dw-bg-body);
}

/* ── Secure Badge ── */
.dw-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--dw-teal-10);
    border: 1px solid var(--dw-teal-20);
    color: var(--dw-teal);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 22px;
}

/* ── Heading & Subtitle ── */
.dw-login-heading {
    font-size: 4rem;
    font-weight: 700;
    color: var(--dw-ink);
    text-align: center;
    line-height: 70.4px;
    letter-spacing: -1.28px;
    max-width: 510px;
    margin-bottom: 13px;
}

.dw-login-sub {
    font-size: 1rem;
    color: var(--dw-muted);
    text-align: center;
    line-height: 25.6px;
    max-width: 390px;
    margin-bottom: 30px;
}

/* ── Login Card ── */
.dw-login-card {
    background: var(--dw-white-40);
    border: 1px solid var(--dw-brd-100);
    border-radius: 12px;
    padding: 32px;
    width: 100%;
    max-width: 510px;
    box-shadow: 0 4px 24px rgba(0,102,110,.07), 0 1px 3px rgba(0,0,0,.04);
    margin-bottom: 40px;
}

/* ── Sign-in buttons (Dubai Way SSO / UAE Pass) ── */
.dw-btn-pass {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    height: 60px;
    margin-bottom: 16px;
    background: var(--dw-ink);
    color: var(--dw-white);
    font-size: 1.0625rem;
    font-weight: 500;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background .18s, transform .13s;
}

.dw-login-card > .dw-btn-pass:last-of-type {
    margin-bottom: 24px;
}

    .dw-btn-pass:hover {
        background: #2c3134;
        transform: translateY(-1px);
    }

    .dw-btn-pass:active {
        transform: translateY(0);
    }

    .dw-btn-pass:focus-visible {
        outline: 2px solid var(--dw-teal);
        outline-offset: 3px;
    }

/* ── Encrypted Connection Divider ── */
.dw-enc-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 26px 0;
}

    .dw-enc-divider::before,
    .dw-enc-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: var(--dw-brd-100);
    }

    .dw-enc-divider span {
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 1.2px;
        text-transform: uppercase;
        color: var(--dw-muted);
        white-space: nowrap;
    }

/* ── Security Info Box ── */
.dw-sec-info {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--dw-surf);
    border: 1px solid rgba(188, 201, 202, 0.3);
    border-radius: 8px;
    padding: 16px;
}

.dw-sec-info__icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
}

.dw-sec-info__body strong {
    display: block;
    font-size: 0.78125rem;
    font-weight: 600;
    color: var(--dw-ink);
    letter-spacing: -.1px;
    margin-bottom: 4px;
}

.dw-sec-info__body p {
    font-size: 0.71875rem;
    color: var(--dw-body);
    line-height: 1.55;
}

/* ── Landmark Images ── */
.dw-landmarks {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 510px;
}

    .dw-landmarks img {
        flex: 1;
        height: 160px;
        object-fit: cover;
        border-radius: 12px;
        border: 1px solid var(--dw-bdr);
        display: block;
    }


@media (max-width: 530px) {
    .dw-nav {
        padding: 0 20px;
    }

    .dw-nav__id {
        gap: 8px;
    }

    .dw-landmarks {
        display: none;
    }
}
