/* Custom styles for M-Pesa Verification Dashboard */

.verification-dashboard .card {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.verification-dashboard .stats-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
}

.verification-dashboard .stats-card h3 {
    margin: 0;
    font-weight: bold;
}

.verification-dashboard .stats-card p {
    margin: 5px 0 0 0;
    opacity: 0.9;
}

.verification-dashboard .table-responsive {
    border-radius: 10px;
    overflow: hidden;
}

.verification-dashboard .btn {
    border-radius: 20px;
    padding: 8px 20px;
}

.verification-dashboard .badge {
    padding: 5px 10px;
    border-radius: 15px;
}

.verification-dashboard .modal-content {
    border-radius: 15px;
}

.verification-dashboard .form-control {
    border-radius: 8px;
}

.verification-dashboard .select2-container--default .select2-selection--single {
    border-radius: 8px;
    border: 1px solid #ced4da;
    height: 38px;
    line-height: 38px;
}

.verification-dashboard .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.verification-dashboard .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 36px;
}

/* Status specific styling */
.status-completed {
    background-color: #28a745;
    color: white;
}

.status-pending {
    background-color: #ffc107;
    color: #212529;
}

.status-failed {
    background-color: #dc3545;
    color: white;
}

/* Transaction type styling */
.transaction-c2b {
    background-color: #17a2b8;
    color: white;
}

.transaction-stk {
    background-color: #007bff;
    color: white;
}

/* Customer assignment styling */
.customer-assigned {
    color: #28a745;
}

.customer-unassigned {
    color: #ffc107;
}

.customer-walkin {
    color: #6c757d;
}

/* Loading states */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .verification-dashboard .stats-card {
        margin-bottom: 15px;
        padding: 15px;
    }
    
    .verification-dashboard .btn {
        padding: 6px 15px;
        font-size: 14px;
    }
}