/* Modal Dialog: Support Project */
body.modal-open {
    overflow: hidden !important;
}

.support-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 10, 25, 0.78);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 16px;
    box-sizing: border-box;
}

.support-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.support-modal-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(0, 113, 207, 0.2);
    width: 100%;
    max-width: 520px;
    padding: 34px 28px 26px;
    box-sizing: border-box;
    text-align: center;
    transform: scale(0.88) translateY(10px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #1e293b;
    position: relative;
}

.support-modal-overlay.active .support-modal-card {
    transform: scale(1) translateY(0);
}

.support-modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 16px;
    font-weight: 700;
    padding: 6px 18px;
    border-radius: 9999px;
    margin-bottom: 16px;
    letter-spacing: 0.3px;
}

.support-modal-title {
    font-size: 36px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 16px;
    line-height: 1.2;
}

.support-modal-desc {
    font-size: 22px;
    line-height: 1.5;
    color: #334155;
    margin: 0 0 22px;
}

.support-modal-desc strong {
    color: #0f172a;
}

.support-donation-box {
    background: #f8fafc;
    border: 2px dashed #93c5fd;
    border-radius: 18px;
    padding: 16px 20px;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
    -webkit-user-select: none;
}

.support-donation-box:hover {
    background: #eff6ff;
    border-color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.15);
}

.support-donation-box:active {
    transform: scale(0.98);
}

.support-bank-tag {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #cb11ab; /* WB Brand Magenta */
    background: #fdf2f8;
    padding: 4px 12px;
    border-radius: 8px;
    border: 1px solid #fbcfe8;
}

.support-phone-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.support-phone-number {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #1e3a8a;
    font-variant-numeric: tabular-nums;
}

.support-copy-icon {
    display: flex;
    align-items: center;
    color: #3b82f6;
}

.support-copy-icon svg {
    width: 24px;
    height: 24px;
}

.support-copy-hint {
    font-size: 15px;
    color: #64748b;
    font-weight: 600;
}

/* Big close button at the bottom of the modal */
.support-close-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 4px;
}

.support-modal-close-btn {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    border: 3px solid #ffffff;
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.45);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.2s ease, background 0.2s ease;
    padding: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.support-modal-close-btn svg {
    width: 36px;
    height: 36px;
    stroke-width: 3.2;
    transition: transform 0.2s ease;
}

.support-modal-close-btn:hover {
    transform: scale(1.12);
    background: linear-gradient(135deg, #f87171 0%, #dc2626 100%);
    box-shadow: 0 8px 26px rgba(220, 38, 38, 0.55);
}

.support-modal-close-btn:hover svg {
    transform: rotate(90deg);
}

.support-modal-close-btn:active {
    transform: scale(0.92);
}

.support-close-caption {
    font-size: 16px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.3px;
}
