/* ============================================================
   Delicat Recharge – v2 Form Styles
   ============================================================ */

.dr-wrap {
    background: linear-gradient(145deg, #b8c5e8 0%, #8fa3d8 100%);
    border-radius: 18px;
    padding: 28px 24px 34px;
    max-width: 500px;
    margin: 0 auto;
    font-family: 'Segoe UI', Arial, sans-serif;
    box-shadow: 0 10px 35px rgba(0,0,0,0.18);
}

/* ── Tabs ─────────────────────────────────────────────────── */
.dr-tabs {
    display: flex;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    border: 1.5px solid #ccc;
    margin-bottom: 20px;
}
.dr-tab {
    flex: 1;
    padding: 11px 6px;
    background: #fff;
    border: none;
    border-right: 1.5px solid #ccc;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    color: #555;
    transition: background .2s, color .2s;
    letter-spacing: .3px;
}
.dr-tab:last-child { border-right: none; }
.dr-tab.active {
    background: #1a1a2e;
    color: #fff;
}
.dr-tab:hover:not(.active) { background: #f0f0f0; }

/* ── Info boxes ───────────────────────────────────────────── */
.dr-info-box {
    background: #fff9e0;
    border: 1.5px solid #f5cc4f;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 14px;
    line-height: 1.7;
}
.dr-info-box p { margin: 0 0 5px; }
.dr-info-box ul { margin: 2px 0 4px 0; padding-left: 18px; }
.dr-info-box li { margin-bottom: 2px; }

.dr-auto-badge {
    display: inline-block;
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}
.dr-manual-badge {
    display: inline-block;
    background: #fff3e0;
    color: #e65100;
    border: 1px solid #ffcc80;
    border-radius: 20px;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    margin-top: 4px;
}

/* ── Fields ───────────────────────────────────────────────── */
.dr-field { margin-bottom: 15px; }

.dr-field label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #2c2c2c;
    margin-bottom: 6px;
}
.dr-req { color: #e53935; }

.dr-field input[type="text"],
.dr-field input[type="number"],
.dr-field input[type="email"],
.dr-field select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    box-sizing: border-box;
    color: #333;
    transition: border-color .2s, box-shadow .2s;
}
.dr-field input:focus,
.dr-field select:focus {
    outline: none;
    border-color: #5b7ccc;
    box-shadow: 0 0 0 3px rgba(91,124,204,.15);
}

/* ── Amount with currency badge ───────────────────────────── */
.dr-input-group {
    display: flex;
    align-items: stretch;
}
.dr-input-group input {
    border-radius: 8px 0 0 8px !important;
    border-right: none !important;
    flex: 1;
}
.dr-currency {
    background: #1a1a2e;
    color: #fff;
    padding: 0 14px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
    letter-spacing: .5px;
}

/* ── File upload ──────────────────────────────────────────── */
.dr-file-area {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.dr-file-btn {
    background: #fff;
    border: 1.5px solid #bbb;
    border-radius: 7px;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}
.dr-file-btn:hover { background: #f5f5f5; }
.dr-file-name {
    font-size: 13px;
    color: #666;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.dr-hint {
    font-size: 11px;
    color: #888;
    margin: 4px 0 0 0;
}

/* ── Submit button ────────────────────────────────────────── */
.dr-submit {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #66bb6a, #388e3c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    margin-top: 6px;
    letter-spacing: .4px;
    box-shadow: 0 4px 14px rgba(56,142,60,.4);
    transition: transform .15s, box-shadow .15s;
}
.dr-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(56,142,60,.5);
}
.dr-submit:active { transform: translateY(0); }
.dr-submit:disabled {
    background: #9e9e9e;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* ── Messages ─────────────────────────────────────────────── */
.dr-message {
    border-radius: 9px;
    padding: 13px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.55;
}
.dr-message.dr-success {
    background: #e8f5e9;
    border: 1.5px solid #a5d6a7;
    color: #1b5e20;
}
.dr-message.dr-error {
    background: #ffebee;
    border: 1.5px solid #ef9a9a;
    color: #b71c1c;
}
