/* Color Variables */
:root {
    --rrss-primary-color: #2c3e50;
    --rrss-secondary-color: #34495e;
    --rrss-accent-color: #3498db;
}

/* General Styles */
body {
    background-color: #f8f9fa;
}

/* Header Styles */
.rrss_custom-header {
    background: linear-gradient(135deg, var(--rrss-primary-color), var(--rrss-secondary-color));
    color: white;
    padding: 2rem 0;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Card Styles */
.rrss_card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 1.5rem;
    transition: transform 0.2s;
}

.rrss_card:hover {
    transform: translateY(-2px);
}

.rrss_card-header {
    background: white;
    border-bottom: 2px solid #f0f0f0;
    padding: 1rem 1.25rem;
}

/* Form Styles */
.rrss_form-label {
    font-weight: 500;
    color: var(--rrss-primary-color);
    margin-bottom: 0.5rem;
}

.rrss_form-control, 
.rrss_form-select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.6rem 1rem;
}

.rrss_form-control:focus, 
.rrss_form-select:focus {
    border-color: var(--rrss-accent-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Button Styles */
.rrss_btn-primary {
    background-color: var(--rrss-accent-color);
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s;
}

.rrss_btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.rrss_btn-secondary {
    background-color: #95a5a6;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 8px;
}

/* Section Styles */
.rrss_characteristics-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
}

.rrss_table-responsive {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    background: white;
    padding: 1rem;
}

/* Interactive Elements */
.rrss_register-number {
    cursor: pointer;
    color: var(--rrss-accent-color);
    text-decoration: underline;
}

.rrss_register-number:hover {
    color: #2980b9;
}

/* Toast Notifications */
.rrss_toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1050;
}

/* Loading Spinner */
.rrss_spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* DataTables Custom Styling */
.rrss_dataTables_wrapper .dataTables_filter input {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.4rem 1rem;
}

.rrss_dataTables_wrapper .dataTables_length select {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    padding: 0.4rem 0.5rem;
}

.rrss_dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--rrss-accent-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px;
}

.rrss_dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: #2980b9 !important;
    color: white !important;
    border: none !important;
}

/* Date Picker Styles */
.daterange:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

.form-check {
    margin-bottom: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .container-fluid {
        padding: 1rem;
    }

    .rrss_custom-header {
        padding: 1.5rem 0;
    }

    .rrss_card-body {
        padding: 1rem;
    }

    .rrss_btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .rrss_characteristics-section .col-auto {
        margin-bottom: 0.5rem;
    }
}