/* Add Funds modal — icopify.co style */

.add-funds-overlay .add-funds-modal {
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 0;
    max-width: 920px;
    width: 94%;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.add-funds-modal-header {
    background: #1e3a5f;
    color: #fff;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.add-funds-modal-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
}

.add-funds-modal-header .text-gold {
    color: #facc15;
    font-weight: 700;
}

.add-funds-modal-header .modal-close {
    color: #fff;
    opacity: 0.85;
    font-size: 1.75rem;
    line-height: 1;
    padding: 0 4px;
}

.add-funds-modal-body {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 0;
    background: #fff;
}

.add-funds-form-col {
    padding: 24px 28px 28px;
    border-right: 3px solid #1e3a5f;
}

.add-funds-notice {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    border-radius: 6px;
    padding: 12px 14px;
    font-size: 0.875rem;
    color: #1e40af;
    margin-bottom: 22px;
    line-height: 1.5;
}

.add-funds-notice a {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
}

.add-funds-form-col .form-group {
    margin-bottom: 18px;
}

.add-funds-form-col label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #334155;
}

.add-funds-form-col .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
    background: #fff;
    box-sizing: border-box;
}

.add-funds-summary-col {
    background: #1e3a5f;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
}

.add-funds-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.92);
}

.add-funds-summary-row.bonus span:last-child {
    color: #facc15;
    font-weight: 700;
}

.add-funds-summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.25);
    margin-top: 8px;
    padding-top: 16px;
    font-size: 1rem;
    font-weight: 700;
}

.add-funds-summary-row.total span:last-child {
    font-size: 1.35rem;
}

.btn-pay-funds {
    margin-top: 24px;
    width: 100%;
    background: linear-gradient(180deg, #fde047, #facc15);
    color: #1e293b;
    border: none;
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: filter 0.15s ease;
}

.btn-pay-funds:hover {
    filter: brightness(1.03);
}

.btn-pay-funds:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .add-funds-modal-body {
        grid-template-columns: 1fr;
    }

    .add-funds-form-col {
        border-right: none;
        border-bottom: 3px solid #1e3a5f;
    }
}

/* Publisher Add Funds modal — icopify.co publisher sidebar */

.pub-add-funds-modal {
    background: #fff;
    border-radius: 10px;
    padding: 0;
    max-width: 520px;
    width: 94%;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
}

.pub-add-funds-header {
    background: #2563eb;
    color: #fff;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pub-add-funds-header h3 {
    margin: 0;
    font-size: 1.05rem;
    font-weight: 600;
}

.pub-add-funds-header .modal-close {
    color: #fff;
    opacity: 0.9;
    font-size: 1.5rem;
    line-height: 1;
    background: none;
    border: none;
    cursor: pointer;
}

.pub-add-funds-body {
    padding: 24px 24px 0;
}

.pub-add-funds-body .form-group {
    margin-bottom: 18px;
}

.pub-add-funds-body label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #1e3a8a;
}

.pub-add-funds-body .form-control {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #1e293b;
    box-sizing: border-box;
}

.pub-pay-funds-btn {
    width: 100%;
    margin-top: 4px;
    padding: 14px 18px;
    border: none;
    border-radius: 8px;
    background: #2563eb;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.pub-pay-funds-btn:hover {
    filter: brightness(1.06);
}

.pub-add-funds-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 20px;
    padding: 16px 20px 20px;
    background: #334155;
    font-size: 1.75rem;
    color: #e2e8f0;
}

.pub-add-funds-overlay .modal {
    border: none;
}
