/* ============================================
   SocialPowerHub - Deposit Pages Styles
   Add Funds, Bank Details, Crypto Details
   ============================================ */

/* ============================================
   DEPOSIT CONTAINER
   ============================================ */

.deposit-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.deposit-container .page-title {
    margin-bottom: 2rem;
}

.deposit-container .page-title h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.deposit-container .page-title .subtitle {
    color: #6b7280;
    font-size: 1rem;
    margin: 0;
}

/* ============================================
   DEPOSIT METHOD CARDS
   ============================================ */

.deposit-methods {
    margin: 2rem 0;
}

.deposit-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
}

.deposit-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.deposit-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.2);
}

.deposit-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.deposit-icon i {
    font-size: 1.75rem;
    color: #ffffff;
}

.deposit-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 1rem 0;
}

.deposit-fee {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.deposit-fee.free {
    color: #10b981;
}

.deposit-fee i {
    font-size: 1rem;
}

.deposit-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.deposit-time i {
    font-size: 0.95rem;
}

.deposit-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0 0;
}

.deposit-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4b5563;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
    padding-left: 0;
}

.deposit-features li i {
    color: #10b981;
    font-size: 0.9rem;
}

/* ============================================
   AMOUNT SECTION
   ============================================ */

.amount-section {
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.amount-section .form-group label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.amount-section .input-group {
    margin-bottom: 0.5rem;
}

.amount-section .input-group-text {
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-right: none;
    color: #6b7280;
    font-weight: 600;
    font-size: 1.1rem;
}

.amount-section .form-control {
    border: 2px solid #d1d5db;
    border-left: none;
    padding: 0.75rem 1rem;
    font-size: 1.1rem;
}

.amount-section .form-control:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.amount-section .form-control:focus + .input-group-text,
.amount-section .input-group-text + .form-control:focus {
    border-color: #3b82f6;
}

.quick-amounts {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.quick-amount-btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.quick-amount-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2);
}

/* ============================================
   CRYPTO CURRENCY SELECTOR
   ============================================ */

.crypto-currency-selector {
    display: none;
    background: #f9fafb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.crypto-currency-selector.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.crypto-currency-selector label {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    display: block;
}

.currency-btn {
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 0.75rem;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.currency-btn:hover {
    border-color: #3b82f6;
    background: #f0f9ff;
    transform: translateY(-2px);
}

.currency-btn.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.crypto-icon {
    font-size: 2rem;
    margin-bottom: 0.25rem;
}

.crypto-icon.usdc {
    color: #2775ca;
}

.crypto-icon.usdt {
    color: #26a17b;
}

.currency-btn strong {
    font-size: 1.1rem;
    color: #1f2937;
}

.currency-btn small {
    color: #6b7280;
    font-size: 0.85rem;
}

/* ============================================
   SUBMIT BUTTON
   ============================================ */

.submit-btn {
    padding: 0.875rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.submit-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.submit-btn i {
    margin-right: 0.5rem;
}

/* ============================================
   ACTIVE DEPOSITS SECTION
   ============================================ */

.active-deposits {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 2px solid #e5e7eb;
}

.active-deposits .section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.active-deposits .section-title i {
    color: #3b82f6;
}

.deposits-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.deposit-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.2s ease;
}

.deposit-item:hover {
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.deposit-info {
    flex: 1;
}

.deposit-reference {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.deposit-reference i {
    color: #6b7280;
    font-size: 0.9rem;
}

.deposit-reference strong {
    color: #1f2937;
    font-size: 1.05rem;
}

.deposit-details {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #6b7280;
    font-size: 0.9rem;
}

.deposit-details .amount {
    font-weight: 600;
    color: #3b82f6;
    font-size: 1rem;
}

.deposit-details .separator {
    color: #d1d5db;
}

.deposit-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Status Badges */
.badge {
    padding: 0.375rem 0.875rem;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.badge.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.badge.status-checking {
    background: #dbeafe;
    color: #1e40af;
}

.badge.status-completed {
    background: #d1fae5;
    color: #065f46;
}

.badge.status-admin_review {
    background: #fed7aa;
    color: #9a3412;
}

.badge.status-failed {
    background: #fee2e2;
    color: #991b1b;
}

/* ============================================
   BANK DETAILS PAGE
   ============================================ */

.bank-details-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 2rem;
    margin: 2rem 0;
}

.bank-details-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bank-details-card h3 i {
    color: #3b82f6;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid #f3f4f6;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: #6b7280;
    font-weight: 500;
    font-size: 0.95rem;
}

.detail-value {
    color: #1f2937;
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.copy-btn {
    padding: 0.375rem 0.75rem;
    font-size: 0.85rem;
    border-radius: 0.375rem;
}

.alert-info {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.alert-info i {
    margin-right: 0.5rem;
}

.alert-warning {
    background: #fef3c7;
    border: 1px solid #fcd34d;
    color: #92400e;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

.alert-warning i {
    margin-right: 0.5rem;
}

.instructions-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.instructions-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.75rem 0;
    color: #4b5563;
}

.instructions-list .step-number {
    background: #3b82f6;
    color: #ffffff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
}

/* ============================================
   CRYPTO DETAILS PAGE
   ============================================ */

.crypto-qr-container {
    text-align: center;
    padding: 2rem;
    background: #f9fafb;
    border-radius: 0.75rem;
    margin: 2rem 0;
}

.crypto-qr-container img {
    max-width: 250px;
    border: 4px solid #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.crypto-address {
    background: #1f2937;
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 0.5rem;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    word-break: break-all;
    margin: 1rem 0;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* ============================================
   TOAST NOTIFICATIONS
   ============================================ */

.custom-toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0;
    transform: translateX(400px);
    transition: all 0.3s ease;
    z-index: 9999;
    display: flex;
    align-items: center;
}

.custom-toast.show {
    opacity: 1;
    transform: translateX(0);
}

.custom-toast i {
    font-size: 1.1rem;
}

.custom-toast.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.custom-toast.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.custom-toast.info {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .deposit-container {
        padding: 1rem 0.5rem;
    }

    .deposit-container .page-title h1 {
        font-size: 1.5rem;
    }

    .deposit-card {
        padding: 1.5rem;
    }

    .deposit-icon {
        width: 50px;
        height: 50px;
    }

    .deposit-icon i {
        font-size: 1.5rem;
    }

    .amount-section {
        padding: 1.5rem;
    }

    .quick-amounts {
        gap: 0.375rem;
    }

    .quick-amount-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }

    .deposit-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .deposit-actions {
        width: 100%;
        justify-content: space-between;
    }

    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
