/* ============================================================
   INFO MODALS STYLES — Bintang Radio Theme (Compact)
   Save to: public/css/style_info_modals.css
   ============================================================ */

/* === Modal Dialog — compact, not fullscreen === */
.info-modal-dialog {
    margin: 1rem auto;
    max-width: 360px;
    max-height: calc(100vh - 2rem);
}

/* === Modal Content === */
.info-modal-content {
    border: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
    background: #f4f7fb;
    max-height: calc(100vh - 2rem);
    display: flex;
    flex-direction: column;
}

/* === Header — compact === */
.info-modal-header {
    position: relative;
    background: linear-gradient(145deg, #0a2e5c 0%, #1a55aa 40%, #2d6fd6 100%);
    padding: 18px 16px 14px;
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

.info-modal-header-compact {
    padding: 16px 16px 12px;
}

/* Decorative circles */
.info-modal-header::before {
    content: '';
    position: absolute;
    top: -30px; right: -30px;
    width: 90px; height: 90px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.info-modal-header::after {
    content: '';
    position: absolute;
    bottom: -30px; left: -15px;
    width: 70px; height: 70px;
    border-radius: 50%;
    background: rgba(113, 130, 255, 0.08);
    pointer-events: none;
}

/* Star decorations */
.info-modal-stars {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.info-modal-stars::before {
    content: '\2605';
    position: absolute;
    top: 10px; left: 15%;
    font-size: 7px;
    color: rgba(255, 215, 0, 0.3);
    animation: infoTwinkle 3s ease-in-out infinite;
}

.info-modal-stars::after {
    content: '\2605';
    position: absolute;
    top: 16px; right: 22%;
    font-size: 5px;
    color: rgba(255, 215, 0, 0.25);
    animation: infoTwinkle 3s ease-in-out infinite 1.5s;
}

@keyframes infoTwinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
}

/* === Close Button — VISIBLE X === */
.info-modal-close-btn {
    position: absolute;
    top: 8px; right: 8px;
    z-index: 10;
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
    line-height: 1;
}

.info-modal-close-btn:hover {
    background: rgba(255, 255, 255, 0.35);
}

/* Icon wrap — smaller */
.info-modal-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px; height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255,255,255,0.18), rgba(255,255,255,0.06));
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
    margin-bottom: 6px;
    font-size: 1.15rem;
    color: #fff;
}

.info-modal-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.info-modal-subtitle {
    color: rgba(255,255,255,0.6);
    font-size: 0.7rem;
    margin: 2px 0 0;
    font-weight: 400;
}

/* === Body — scrollable, tight === */
.info-modal-body {
    padding: 14px 12px 6px;
    color: #333;
    font-size: 0.84rem;
    line-height: 1.55;
    overflow-y: auto;
    flex: 1;
    min-height: 0;
}

.info-modal-body::-webkit-scrollbar { width: 3px; }
.info-modal-body::-webkit-scrollbar-track { background: transparent; }
.info-modal-body::-webkit-scrollbar-thumb { background: rgba(26,85,170,0.15); border-radius: 3px; }

.info-lead-text {
    font-size: 0.82rem;
    color: #555;
    line-height: 1.55;
    margin-bottom: 10px;
}

/* === Footer — Tutup button === */
.info-modal-footer {
    padding: 10px 12px 14px;
    text-align: center;
    flex-shrink: 0;
    background: #f4f7fb;
}

.info-modal-footer .btn-tutup {
    background: var(--bg-primary, #1a55aa);
    color: #fff;
    border: none;
    border-radius: 24px;
    padding: 8px 36px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: background 0.2s;
}

.info-modal-footer .btn-tutup:hover {
    background: #0a2e5c;
}

/* === Cards — compact === */
.info-card {
    display: flex;
    gap: 10px;
    background: #fff;
    border-radius: 10px;
    padding: 11px 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(26,85,170,0.05);
    box-shadow: 0 1px 4px rgba(26,85,170,0.03);
}

.info-card-contact {
    background: linear-gradient(135deg, #edf3ff, #e4ecfc);
    border-color: rgba(26,85,170,0.08);
}

.info-card-icon {
    flex-shrink: 0;
    width: 30px; height: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #1a55aa, #7182ff);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    box-shadow: 0 1px 4px rgba(26,85,170,0.2);
}

.info-card-body { flex: 1; min-width: 0; }

.info-card-title {
    font-weight: 700;
    font-size: 0.82rem;
    color: #0a2e5c;
    margin: 0 0 3px;
    font-family: 'Poppins', sans-serif;
}

.info-card-body p {
    margin: 0 0 4px;
    font-size: 0.78rem;
    color: #5a6a7a;
    line-height: 1.45;
}

.info-card-body p:last-child { margin-bottom: 0; }

/* === Chips — smaller === */
.info-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }

.info-chip {
    display: inline-flex; align-items: center; gap: 3px;
    background: linear-gradient(135deg, #e3edfc, #d5e2f8);
    color: #1a55aa; font-size: 0.68rem; font-weight: 600;
    padding: 3px 7px; border-radius: 14px; white-space: nowrap;
}

.info-chip i { font-size: 0.6rem; }

.info-chip-sm {
    display: inline-flex; align-items: center; gap: 3px;
    background: #eef2f9; color: #3d6baa;
    font-size: 0.68rem; font-weight: 500;
    padding: 2px 7px; border-radius: 12px;
}

.info-chip-warn { background: #fef2f2; color: #c0392b; }

/* === Sub Sections === */
.info-sub-section {
    margin-bottom: 8px; padding-bottom: 6px;
    border-bottom: 1px dashed rgba(26,85,170,0.08);
}
.info-sub-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.info-sub-section strong { display: block; font-size: 0.78rem; color: #1a55aa; margin-bottom: 2px; }

/* === Contact Pills — compact === */
.info-contact-pills { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }

.info-pill {
    display: inline-flex; align-items: center; gap: 4px;
    background: linear-gradient(135deg, #1a55aa, #2d6fd6);
    color: #fff !important;
    font-size: 0.72rem; font-weight: 600;
    padding: 6px 11px; border-radius: 20px;
    text-decoration: none !important;
    transition: all 0.2s;
    box-shadow: 0 1px 6px rgba(26,85,170,0.2);
}

.info-pill:hover {
    background: linear-gradient(135deg, #7182ff, #2d6fd6);
    transform: translateY(-1px);
    color: #fff !important;
}

.info-pill i { font-size: 0.75rem; }

.info-link {
    color: #1a55aa !important; font-weight: 600;
    text-decoration: underline !important; font-size: 0.76rem;
    word-break: break-all;
}

/* === Contact Grid === */
.info-contact-grid {
    display: flex; flex-wrap: wrap; gap: 8px;
    justify-content: center; margin-top: 12px;
}

.info-contact-card {
    display: flex; flex-direction: column; align-items: center; gap: 5px;
    background: #fff; border-radius: 12px; padding: 14px 10px;
    min-width: 95px; flex: 1;
    text-decoration: none !important;
    border: 1px solid rgba(26,85,170,0.06);
    box-shadow: 0 1px 6px rgba(0,0,0,0.03);
    transition: all 0.2s;
}

.info-contact-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(26,85,170,0.08);
}

.info-contact-card-icon {
    width: 40px; height: 40px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: #fff;
}

.info-contact-card-label { font-weight: 700; font-size: 0.78rem; color: #0a2e5c; }
.info-contact-card-detail { font-size: 0.65rem; color: #999; text-align: center; word-break: break-all; }

/* === FAQ === */
.info-faq-category { margin-bottom: 12px; }

.info-faq-category-label {
    display: inline-flex; align-items: center; gap: 4px;
    background: linear-gradient(135deg, #1a55aa, #2d6fd6);
    color: #fff; font-size: 0.72rem; font-weight: 600;
    padding: 4px 10px; border-radius: 14px; margin-bottom: 6px;
}

.info-faq-item {
    background: #fff; border-radius: 8px; margin-bottom: 5px;
    overflow: hidden; border: 1px solid rgba(26,85,170,0.05);
}

.info-faq-question {
    display: flex; align-items: center; justify-content: space-between;
    width: 100%; padding: 10px 12px; border: none; background: #fff;
    font-size: 0.78rem; font-weight: 600; color: #0a2e5c;
    text-align: left; cursor: pointer; transition: all 0.2s; gap: 6px;
    font-family: 'Poppins', sans-serif;
}

.info-faq-question span { flex: 1; white-space: normal; }
.info-faq-question:hover { background: #f0f5ff; }
.info-faq-question:not(.collapsed) { background: linear-gradient(135deg, #1a55aa, #2d6fd6); color: #fff; }

.info-faq-arrow { font-size: 0.65rem; transition: transform 0.3s ease; flex-shrink: 0; opacity: 0.7; }
.info-faq-question:not(.collapsed) .info-faq-arrow { transform: rotate(180deg); opacity: 1; }

.info-faq-answer-inner {
    padding: 10px 12px; font-size: 0.78rem; color: #5a6a7a;
    line-height: 1.5; border-top: 1px solid rgba(26,85,170,0.05);
}

.info-faq-answer-inner a { color: #1a55aa; text-decoration: underline; font-weight: 500; }

/* === Footer link style === */
.footer-info-link { cursor: pointer; transition: opacity 0.2s; }
.footer-info-link:hover { opacity: 0.8; }