﻿/* Lock underlying content without destroying it */
body.iul-geo-locked {
    overflow: hidden !important;
}

#iul-geo-barrier {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.iul-modal-backdrop {
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.iul-modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #1e293b;
    border: 1px solid #e2e8f0;
}

.iul-modal-header {
    padding: 24px 24px 12px;
    text-align: center;
}

.iul-badge-icon {
    width: 52px;
    height: 52px;
    background-color: #ecfdf5;
    color: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}

.iul-modal-header h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #0f172a;
}

.iul-subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.iul-modal-body {
    padding: 12px 24px 20px;
}

.iul-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
    margin: 0 0 16px;
    text-align: center;
}

.iul-info-pill {
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 20px;
    line-height: 1.4;
}

    .iul-info-pill svg {
        flex-shrink: 0;
        color: #0284c7;
    }

.iul-alert-warning {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
    border-radius: 8px;
    padding: 12px;
    font-size: 13px;
    margin-bottom: 16px;
}

    .iul-alert-warning strong {
        display: block;
        margin-bottom: 4px;
        font-size: 14px;
    }

    .iul-alert-warning p {
        margin: 0;
        line-height: 1.4;
    }

/* Tabs */
.iul-tabs-nav {
    display: flex;
    gap: 6px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 12px;
}

.iul-tab-btn {
    flex: 1;
    background: none;
    border: none;
    padding: 8px 4px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    border-bottom: 2px solid transparent;
}

    .iul-tab-btn.active {
        color: #059669;
        border-bottom-color: #059669;
    }

.iul-tab-content {
    display: none;
    background-color: #f8fafc;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 20px;
}

    .iul-tab-content.active {
        display: block;
    }

    .iul-tab-content ol {
        margin: 0;
        padding-left: 16px;
    }

/* Buttons */
.iul-btn {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
}

.iul-btn-primary {
    background-color: #059669;
    color: #ffffff;
}

    .iul-btn-primary:hover {
        background-color: #047857;
    }

.iul-btn-secondary {
    background-color: #0f172a;
    color: #ffffff;
}

    .iul-btn-secondary:hover {
        background-color: #1e293b;
    }

.iul-modal-footer {
    padding: 12px 24px;
    background-color: #f8fafc;
    border-top: 1px solid #f1f5f9;
    text-align: center;
    border-radius: 0 0 16px 16px;
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 480px) {
    .iul-modal-card {
        border-radius: 12px;
    }

    .iul-modal-header {
        padding: 16px 16px 8px;
    }

    .iul-modal-body {
        padding: 8px 16px 16px;
    }
}
