/* ==============================
   URAW FOOTER
================================ */
.uraw-footer {
    background: #101e35;
    color: #ffffff;
    padding: 42px 20px;
    font-family: Arial, Helvetica, sans-serif;
}

.uraw-footer *,
.uraw-modal * {
    box-sizing: border-box;
}

.uraw-footer-container {
    max-width: 1150px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
}

.uraw-footer-brand h3 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    margin: 0 0 18px;
    color: #ffffff;
}

.uraw-footer-brand p {
    color: #c2ccda;
    font-size: 14px;
    line-height: 1.8;
    margin: 0 0 12px;
}

.uraw-footer-title {
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 19px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.14);
}

.uraw-footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 24px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.uraw-footer-links a {
    color: #c2ccda;
    font-size: 13px;
    text-decoration: none;
    line-height: 1.5;
    transition: color .2s ease;
}

.uraw-footer-links a:hover {
    color: #75c9fa;
}

.uraw-footer-bottom {
    max-width: 1150px;
    margin: 35px auto 0;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
    text-align: center;
    font-size: 12px;
    color: #91a0b7;
}

/* ==============================
   POPUP OVERLAY
================================ */
.uraw-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(8, 19, 38, .76);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);

    display: none;
    align-items: center;
    justify-content: center;

    padding: 22px;
    opacity: 0;
    transition: opacity .22s ease;
}

.uraw-modal.is-open {
    display: flex;
    opacity: 1;
}

.uraw-modal-dialog {
    width: 100%;
    max-width: 900px;
    height: 85vh;
    height: 85dvh;
    max-height: 900px;

    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 25px 90px rgba(0,0,0,.32);

    display: flex;
    flex-direction: column;
    overflow: hidden;

    animation: urawModalIn .25s ease;
}

@keyframes urawModalIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* HEADER */
.uraw-modal-header {
    background: linear-gradient(120deg, #14366d, #2362ae);
    color: #ffffff;
    padding: 21px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    flex-shrink: 0;
}

.uraw-modal-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 0;
}

.uraw-modal-symbol {
    width: 43px;
    height: 43px;
    border-radius: 12px;
    background: rgba(255,255,255,.16);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 23px;
}

.uraw-modal-heading {
    min-width: 0;
}

.uraw-modal-heading small {
    display: block;
    font-size: 11px;
    color: #c8def7;
    letter-spacing: 1.5px;
    margin-bottom: 5px;
}

.uraw-modal-heading h2 {
    color: #ffffff;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.uraw-modal-close {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 11px;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background .2s;
}

.uraw-modal-close:hover {
    background: rgba(255,255,255,.27);
}

/* IFRAME CONTENT */
.uraw-modal-body {
    flex: 1;
    min-height: 0;
    position: relative;
    background: #f7f9fc;
}

.uraw-modal-frame {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    background: #ffffff;
}

.uraw-modal-loading {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #65758b;
    font-size: 13px;
}

.uraw-modal-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2eaf5;
    border-top-color: #2462ad;
    border-radius: 50%;
    animation: urawSpin .8s linear infinite;
}

@keyframes urawSpin {
    to { transform: rotate(360deg); }
}

/* FOOTER */
.uraw-modal-bottom {
    flex-shrink: 0;
    padding: 14px 25px;
    background: #ffffff;
    border-top: 1px solid #e6ebf2;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.uraw-modal-note {
    font-size: 12px;
    color: #8190a3;
}

.uraw-modal-done {
    border: 0;
    background: #1b529b;
    color: white;
    border-radius: 9px;
    padding: 11px 25px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
}

.uraw-modal-done:hover {
    background: #123b76;
}

/* MOBILE */
@media (max-width: 650px) {
    .uraw-footer {
        padding: 35px 18px;
    }

    .uraw-footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .uraw-footer-links {
        grid-template-columns: 1fr;
    }

    .uraw-modal {
        padding: 0;
    }

    .uraw-modal-dialog {
        width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: none;
        border-radius: 0;
    }

    .uraw-modal-header {
        padding: 16px;
    }

    .uraw-modal-heading h2 {
        font-size: 16px;
    }

    .uraw-modal-symbol {
        width: 36px;
        height: 36px;
        font-size: 20px;
    }

    .uraw-modal-bottom {
        padding: 12px 16px;
    }

    .uraw-modal-note {
        font-size: 10px;
    }

    .uraw-modal-done {
        padding: 11px 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .uraw-modal-dialog,
    .uraw-modal-spinner {
        animation: none;
    }
}