/* Transaction Pages Styles (Deposit, Withdraw, Transfer) */

.transaction-container {
    min-height: calc(100vh - 80px);
    padding-top: 120px;
    background: linear-gradient(135deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

.transaction-card {
    background: rgba(22, 33, 62, 0.95) !important;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.transaction-header {
    padding: 2.5rem;
    text-align: center;
    color: white;
}

.transaction-header.deposit {
    background: linear-gradient(135deg, #00B894, #00D4AA);
}

.transaction-header.withdraw {
    background: linear-gradient(135deg, #FD79A8, #FF6B9D);
}

.transaction-header.transfer {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
}

.transaction-header h2 {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.transaction-header p {
    margin: 0;
    opacity: 0.9;
}

.transaction-body {
    padding: 2.5rem;
    background: rgba(22, 33, 62, 0.95) !important;
    color: #FFFFFF !important;
    position: relative;
    z-index: 1;
}

.transaction-body .form-label {
    font-weight: 600;
    color: #FFFFFF;
    margin-bottom: 0.8rem;
}

.transaction-body .form-control,
.transaction-body .form-select {
    background: rgba(0, 0, 0, 0.6) !important;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.8rem 1rem;
    color: #FFFFFF !important;
    transition: all 0.3s ease;
}

.transaction-body .form-control::placeholder {
    color: #888888;
}

.transaction-body .form-control:focus,
.transaction-body .form-select:focus {
    background: rgba(0, 0, 0, 0.8) !important;
    border-color: #6C5CE7;
    color: #FFFFFF !important;
    box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.2);
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.payment-option label i {
    font-size: 2rem;
    color: #6C5CE7;
    margin-bottom: 0.5rem;
}

.payment-option label span {
    font-weight: 600;
    color: #FFFFFF;
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(162, 155, 254, 0.1));
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
}

.payment-details {
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    color: #FFFFFF !important;
}

.payment-details label {
    color: #FFFFFF;
}

.payment-details .form-control {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--border-color);
    color: #FFFFFF;
}

.crypto-address .input-group {
    margin-top: 0.5rem;
}

.crypto-address .form-control {
    font-family: monospace;
    font-size: 0.9rem;
}

.summary-box {
    background: rgba(0, 0, 0, 0.5) !important;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 2rem 0;
    color: #FFFFFF !important;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 2px solid #6C5CE7;
}

.summary-item span {
    color: #B8B8B8;
    font-weight: 500;
}

.summary-item strong {
    color: #FFFFFF;
    font-size: 1.1rem;
}

.summary-item.total strong {
    color: #6C5CE7;
    font-size: 1.5rem;
}

.btn-submit,
button[type="submit"].btn-submit,
#transferSubmitBtn {
    pointer-events: auto !important;
    z-index: 100 !important;
    position: relative !important;
    cursor: pointer !important;
    width: 100%;
    padding: 1rem;
    border: none !important;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light)) !important;
    color: white !important;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
    opacity: 1 !important;
    display: block !important;
    visibility: visible !important;
}

.btn-submit:disabled,
button[type="submit"].btn-submit:disabled {
    pointer-events: none !important;
    opacity: 0.6;
    cursor: not-allowed !important;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(108, 92, 231, 0.4);
}

.balance-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
}

.balance-box span {
    color: #B8B8B8;
    font-size: 0.9rem;
    font-weight: 500;
    display: block;
    margin-bottom: 0.5rem;
}

.balance-box h4 {
    color: #FFFFFF;
    font-weight: 700;
    font-size: 1.8rem;
    margin: 0;
}

.transfer-options {
    margin-bottom: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .transaction-header h2 {
        font-size: 1.5rem;
    }
    
    .payment-methods {
        grid-template-columns: 1fr;
    }
    
    .balance-box h4 {
        font-size: 1.5rem;
    }
}

