html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}




.info-btn {
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 10000;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(180deg,#ffffffff 0%, #f1f5f9 100%);
    box-shadow: 0 6px 14px rgba(20,20,30,0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #064e3b;
    border: 1px solid rgba(6,78,59,0.08);
    cursor: pointer;
    transition: transform .12s ease, box-shadow .12s ease;
    user-select: none;
}

    .info-btn:focus {
        outline: 3px solid rgba(6,78,59,0.12);
        outline-offset: 2px;
    }

    .info-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 24px rgba(20,20,30,0.18);
    }

    /* small 'i' glyph */
    .info-btn .dot {
        display: block;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        background: #0f172a;
        color: white;
        font-size: 14px;
        line-height: 20px;
        text-align: center;
    }

/* --- Modal overlay & panel --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(10,12,15,0.45);
    z-index: 10005;
    padding: 20px;
}

    .modal-overlay.show {
        display: flex;
    }

.custom-modal {
    background: white;
    width: min(720px, 96vw);
    max-width: 720px;
    border-radius: 12px;
    box-shadow: 0 18px 40px rgba(10,12,20,0.25);
    overflow: hidden;
    transform-origin: center;
    animation: pop .14s ease;
}

@keyframes pop {
    from {
        transform: translateY(6px) scale(.99);
        opacity: 0
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1
    }
}

.modal-header {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eef2f6;
    background: linear-gradient(180deg,#f9fafb,#ffffff);
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.btn-close {
    background: transparent;
    border: none;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}

    .btn-close:focus {
        outline: 3px solid rgba(15,23,42,0.08);
    }

.modal-content {
    padding: 18px;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #111827;
    line-height: 1.45;
    max-height: 64vh;
    overflow: auto;
}

.refund-heading {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #0f172a;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 4px;
}

.refund-steps {
    font-size: 13.5px;
    line-height: 1.5;
    margin-left: 18px;
    padding-left: 10px;
    color: #374151;
}

    .refund-steps > li {
        margin-bottom: 12px;
    }

    .refund-steps ul {
        list-style: disc;
        margin-top: 4px;
        margin-left: 18px;
        color: #4b5563;
    }

.step-title {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
    font-size: 14px;
}


/* smaller footprint variant for mobile */
@media (max-width: 420px) {
    .info-btn {
        left: 10px;
        top: 10px;
        width: 40px;
        height: 40px;
    }

    .custom-modal {
        width: 94vw;
        border-radius: 10px;
    }

    .modal-content {
        padding: 14px;
    }
}