.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-box {
    background: #fff;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    padding: 1.75rem;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    cursor: pointer;
    color: #888;
    font-size: 20px;
    line-height: 1;
}

.modal-close:hover { color: #333; }

.modal-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 4px;
}

h2.modal-title{
    color: black;
}

.modal-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 1.25rem;
}

.modal-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 1.25rem;
}

.modal-tab {
    background: none;
    border: none;
    font-size: 14px;
    padding: 8px 18px;
    cursor: pointer;
    color: #888;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: color 0.2s;
}

.modal-tab.active {
    color: #111;
    font-weight: 600;
    border-bottom: 2px solid #111;
}

.modal-tab-content { display: none; }
.modal-tab-content.active { display: block; }

/* FAQ */
.faq-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 12px 0;
}
.faq-item:last-child { border-bottom: none; }
.faq-q {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #111;
}
.faq-a {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

/* Contact form */
.modal-form-group { margin-bottom: 1rem; }
.modal-form-group label {
    display: block;
    font-size: 13px;
    color: #555;
    margin-bottom: 5px;
    font-weight: 500;
}
.modal-form-group input,
.modal-form-group textarea,
.modal-form-group select {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    font-family: inherit;
    color: #111;
    transition: border-color 0.2s;
}
.modal-form-group input:focus,
.modal-form-group textarea:focus {
    border-color: #888;
}
.modal-form-group textarea {
    resize: vertical;
    min-height: 100px;
}
.modal-submit-btn {
    width: 100%;
    padding: 10px;
    background: #111;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}
.modal-submit-btn:hover { background: #333; }

/* Support */
.support-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}
.support-item:last-child { border-bottom: none; }
.support-icon {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.support-icon svg {
    width: 18px;
    height: 18px;
    stroke: #555;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.support-label {
    font-size: 14px;
    font-weight: 600;
    color: #111;
}
.support-val {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}