/* Deposit Container */
#deposit-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Account Balance */
.account-balance {
    background: #2c3e50 !important;
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 30px;
    text-align: center;
}

.balance-label {
    font-size: 14px;
    opacity: 0.9;
    margin: 0 0 10px 0;
}

.balance-amount {
    font-size: 48px !important;
    font-weight: bold;
    margin: 0;
     color: white !important;
}

/* Payment Categories */
.payment-category {
    margin-bottom: 30px;
}

.payment-category h4 {
    background: #2c3e50;
    color: white;
    padding: 10px 15px;
    margin: 0 0 15px 0;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.payment-items {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

/* Payment Method Cards */
.payment-method-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    cursor: pointer !important;
    transition: all 0.3s ease;
    position: relative;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.payment-method-card:hover {
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.2);
}

.method-logo img {
    max-width: 100%;
    max-height: 60px;
    height: auto;
}

.method-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.fee-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #ff4444;
    color: white;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
}

/* Payment Modal */
.payment-modal {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
}

.modal-content {
    background-color: #fefefe !important;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: #aaa;
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

.close-modal:hover,
.close-modal:focus {
    color: #000;
}

/* Payment Form */
.payment-form {
    padding: 20px;
}

.method-header {
    text-align: center;
    margin-bottom: 20px;
}

.method-header h3 {
    margin: 0;
    color: #333;
}

.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.info-box p {
    margin: 0;
    font-size: 14px;
    color: #1976d2;
}

/* QR Code Section */
.qr-section {
    text-align: center;
    margin: 20px 0;
}

.qr-section label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    color: #555;
}

.qr-code {
    max-width: 200px;
    height: auto;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 10px;
}

/* Detail Row */
.detail-row {
    margin-bottom: 15px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

.detail-row label {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: 600;
}

.detail-value {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.copy-btn {
    background: #2c3e50 !important;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #2c4d6e !important;
    transform: scale(1.05);
}

.copy-btn.copied {
    background: #0c2f51 !important;
}

.copy-btn .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
    line-height: 1;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group small {
    display: block;
    color: #999;
    font-size: 12px;
    margin-top: 3px;
}

.form-group input[type="number"],
.form-group input[type="text"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
}

/* File Upload */
.file-upload {
    position: relative;
}

.file-upload input[type="file"] {
    display: none;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 40px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-label:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.file-label .dashicons {
    font-size: 48px;
    width: 48px;
    height: 48px;
    color: #999;
}

.file-label:hover .dashicons {
    color: #667eea;
}

.upload-text {
    color: #666;
    font-size: 14px;
}

.file-label:hover .upload-text {
    color: #667eea;
}

#file-preview {
    margin-top: 10px;
}

.file-info {
    background: #e8f5e9;
    border: 1px solid #4caf50;
    padding: 10px;
    border-radius: 6px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-name {
    font-weight: 600;
    color: #2e7d32;
}

.file-size {
    color: #666;
    font-size: 12px;
}

/* Confirm Button */
.confirm-btn {
    width: 100%;
    background: #4caf50;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.confirm-btn:hover {
    background: #45a049;
}

.confirm-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Submission Messages */
#submission-message {
    margin: 15px 0;
}

#submission-message p {
    padding: 12px;
    border-radius: 6px;
    margin: 0;
}

#submission-message .success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

#submission-message .error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

#submission-message .loading {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

/* User Submissions List */
.submissions-list {
    display: grid;
    gap: 15px;
}

.submission-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.sub-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.sub-header strong {
    color: #333;
    font-size: 16px;
}

.status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status.pending {
    background: #fff3cd;
    color: #856404;
}

.status.approved {
    background: #d4edda;
    color: #155724;
}

.status.rejected {
    background: #f8d7da;
    color: #721c24;
}

.sub-details p {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.coupon-code-section {
    background:#764ba2 !important;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.coupon-label {
    color: white;
    font-size: 13px;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.coupon-code-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 12px 15px;
    border-radius: 6px;
    gap: 10px;
}

.coupon-code-text {
    color: #667eea !important;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1px;
    flex: 1;
}

.copy-coupon-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-coupon-btn:hover {
    background: #5568d3;
    transform: scale(1.05);
}

.copy-coupon-btn:active {
    transform: scale(0.95);
}

.copy-coupon-btn.copied {
    background: #4caf50;
}

.copy-coupon-btn .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    line-height: 1;
}

.copy-text {
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .balance-amount {
        font-size: 36px;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}