/* Admin Pricing Page Styles */

/* Table modifications for better inline editing */
.table-hover tbody tr:hover {
    background-color: rgba(0, 123, 255, 0.05);
}

.table-warning {
    background-color: #fff3cd !important;
    border-left: 3px solid #ffc107;
}

.table-warning:hover {
    background-color: #ffe69c !important;
}

/* Form controls in table */
.table .form-control-sm,
.table .form-select-sm {
    font-size: 0.875rem;
    padding: 0.25rem 0.5rem;
}

/* Tab styling */
.nav-tabs .nav-link {
    color: #495057;
    font-weight: 500;
}

.nav-tabs .nav-link.active {
    color: #007bff;
    font-weight: 600;
    border-bottom: 3px solid #007bff;
}

.nav-tabs .nav-link:hover {
    color: #0056b3;
}

/* Filter card */
.form-check-label {
    cursor: pointer;
}

/* Badge styling */
.badge {
    font-weight: 500;
}

/* Responsive table scroll */
.table-responsive {
    max-height: 70vh;
    overflow-y: auto;
}

.table thead th {
    position: sticky;
    top: 0;
    z-index: 10;
    background-color: #343a40;
}

/* Button improvements */
.btn-success:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alert improvements */
.alert {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Card improvements */
.card {
    border-radius: 0.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Loading state */
.spinner-border {
    width: 3rem;
    height: 3rem;
}

/* Number input no spinner arrows */
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    opacity: 1;
}

/* Highlight changes */
@keyframes highlight {
    0% { background-color: #fff3cd; }
    100% { background-color: transparent; }
}

.table-warning td {
    animation: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .table-responsive {
        font-size: 0.75rem;
    }
    
    .form-control-sm,
    .form-select-sm {
        font-size: 0.75rem;
    }
}
