/* Custom Styles for RSRQS */

/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f9fa;
    color: #333;
}

/* Card Styling */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-2px);
}

.card-header {
    border-radius: 10px 10px 0 0 !important;
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
}

/* Button Styling */
.btn {
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #001f3f 0%, #003366 100%);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #003366 0%, #00509e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 31, 63, 0.3);
}

/* Form Styling */
.form-control, .form-select {
    border-radius: 6px;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: #001f3f;
    box-shadow: 0 0 0 0.25rem rgba(0, 31, 63, 0.25);
}

/* Progress Bar Styling */
.progress {
    border-radius: 10px;
    height: 10px;
}

.progress-bar {
    border-radius: 10px;
}

/* Table Styling */
.table {
    border-radius: 10px;
    overflow: hidden;
}

.table thead th {
    background-color: #001f3f;
    color: white;
    border: none;
}

.table tbody tr:hover {
    background-color: rgba(0, 31, 63, 0.05);
}

/* Badge Styling */
.badge {
    border-radius: 4px;
    padding: 5px 10px;
    font-weight: 500;
}

/* Alert Styling */
.alert {
    border-radius: 8px;
    border: none;
}

/* Navigation */
.navbar {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 50px;
    border-top: 1px solid #dee2e6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .table-responsive {
        font-size: 14px;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #001f3f;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #003366;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 31, 63, 0.3);
    border-radius: 50%;
    border-top-color: #001f3f;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Print Styles */
@media print {
    .no-print {
        display: none !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #dee2e6 !important;
    }
}