/* Withdrawal Form Styles */
.uap-withdrawals-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

.uap-withdrawals-balance {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
    margin-bottom: 30px;
    text-align: center;
}

.uap-balance-amount {
    font-size: 24px;
    font-weight: bold;
    color: #28a745;
    margin-top: 10px;
}

.uap-withdrawal-form {
    background: #fff;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.uap-form-group {
    margin-bottom: 15px;
}

.uap-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.uap-form-group input,
.uap-form-group select,
.uap-form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.uap-submit-button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.uap-submit-button:hover {
    background: #0056b3;
}

/* Withdrawal History Table */
.uap-withdrawal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.uap-withdrawal-table th,
.uap-withdrawal-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

.uap-withdrawal-table th {
    background: #f8f9fa;
    font-weight: 600;
}

/* Status Badges */
.uap-status {
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
}

.uap-status-pending {
    background: #ffc107;
    color: #000;
}

.uap-status-approved {
    background: #28a745;
    color: #fff;
}

.uap-status-rejected {
    background: #dc3545;
    color: #fff;
}

/* Messages */
.uap-success-message,
.uap-error-message {
    padding: 10px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.uap-success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.uap-error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Modal Styles */
.uap-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.uap-modal-content {
    background-color: #fefefe;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50%;
    max-width: 500px;
    border-radius: 5px;
    position: relative;
}

.uap-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.uap-modal-close:hover {
    color: black;
}

/* Responsive Styles */
@media screen and (max-width: 768px) {
    .uap-withdrawals-container {
        padding: 10px;
    }
    
    .uap-modal-content {
        width: 90%;
        margin: 30% auto;
    }
    
    .uap-withdrawal-table {
        display: block;
        overflow-x: auto;
    }
} 