    :root {
        --primary-green: #1F7A4B;
        --primary-green-hover: #155a37;
        --light-green: #f0f8f4;
        --border-color: #e9ecef;
        --text-muted: #6c757d;
        --primary-color: #1F7A4B;
        --dark-color: #2c3e50;
        --danger-color: #dc3545;
    }

    body {
        background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
        min-height: 100vh;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    .wrapper {
        display: flex;
        width: 100%;
        align-items: stretch;
        min-height: 100vh;
    }

    #sidebar {
        min-width: 280px;
        max-width: 280px;
        min-height: 100vh;
        transition: all 0.3s ease;
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%) !important;
        box-shadow: 4px 0 20px rgba(31, 122, 75, 0.15);
        border-radius: 0 20px 20px 0;
    }

    #sidebar.collapsed {
        margin-left: -280px;
    }

    #sidebar.active {
        margin-left: 0;
    }

    .sidebar-header {
        padding: 2rem 1rem;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 1rem;
    }

    .sidebar-header i {
        background: rgba(255, 255, 255, 0.2);
        padding: 1rem;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

    .sidebar-header h4 {
        font-weight: 600;
        margin: 0;
        font-size: 1.1rem;
    }

    #sidebar .nav-link {
        padding: 12px 20px;
        border-radius: 12px;
        margin: 5px 10px;
        transition: all 0.3s ease;
        color: rgba(255, 255, 255, 0.9) !important;
        font-weight: 500;
        position: relative;
        overflow: hidden;
    }

    #sidebar .nav-link:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(5px);
        color: white !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    #sidebar .nav-link i {
        width: 20px;
        text-align: center;
    }

    .collapse .nav-link {
        padding: 8px 15px 8px 45px;
        font-size: 0.9rem;
        margin: 2px 10px;
    }

    #content {
        flex: 1;
        padding: 0;
        background: transparent;
    }

    .main-container {
        background: white;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        padding: 40px;
        margin: 20px;
        animation: fadeInUp 0.6s ease-out;
    }

    .page-header {
        border-bottom: 3px solid var(--primary-green);
        margin-bottom: 40px;
        padding-bottom: 20px;
    }

    .page-title {
        color: var(--dark-color);
        font-weight: 700;
        margin: 0;
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .section-title {
        color: var(--primary-green);
        font-weight: 600;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 1.4rem;
    }

    .lineaSeccCont {
        height: 3px;
        background: linear-gradient(90deg, var(--primary-green) 0%, rgba(31, 122, 75, 0.3) 100%);
        border: none;
        flex: 1;
    }

    .table {
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
        background: white;
    }

    .table thead th {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
        color: white;
        font-weight: 600;
        border: none;
        padding: 15px 12px;
        font-size: 0.9rem;
    }

    .table tbody td {
        padding: 12px;
        vertical-align: middle;
        border-color: #f1f3f4;
    }

    .table tbody tr {
        transition: all 0.2s ease;
    }

    .table tbody tr:hover {
        background: var(--light-green);
        transform: translateY(-1px);
        box-shadow: 0 2px 8px rgba(31, 122, 75, 0.1);
    }

    .btn {
        border-radius: 12px;
        font-weight: 500;
        transition: all 0.3s ease;
        padding: 10px 20px;
    }

    .btn-success {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
        border: none;
        box-shadow: 0 4px 15px rgba(31, 122, 75, 0.3);
    }

    .btn-success:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(31, 122, 75, 0.4);
    }

    .btn-danger {
        background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
        border: none;
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }

    .btn-danger:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
    }

    .btn:disabled {
        opacity: 0.6;
        transform: none !important;
        box-shadow: none !important;
    }

    .btn img {
        width: 18px;
        height: 18px;
        filter: brightness(0) invert(1);
    }

    .form-check-input:checked {
        background-color: var(--primary-green);
        border-color: var(--primary-green);
    }

    .form-check-label {
        font-weight: 500;
        color: var(--dark-color);
    }

    #sidebarCollapse {
        background: var(--primary-green) !important;
        border: none;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(31, 122, 75, 0.3);
        z-index: 1000;
        transition: all 0.3s ease;
    }

    #sidebarCollapse:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(31, 122, 75, 0.4);
    }

    .modal-content {
        border-radius: 20px;
        border: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    }

    .modal-header {
        background: linear-gradient(135deg, var(--primary-green) 0%, var(--primary-green-hover) 100%);
        color: white;
        border-radius: 20px 20px 0 0;
        border: none;
    }

    .modal-title {
        font-weight: 600;
    }

    .btn-close {
        filter: brightness(0) invert(1);
    }

    .form-control {
        border: 2px solid #e9ecef;
        border-radius: 12px;
        padding: 12px 16px;
        font-size: 1rem;
        transition: all 0.3s ease;
        background: #f8f9fa;
    }

    .form-control:focus {
        border-color: var(--primary-green);
        box-shadow: 0 0 0 0.2rem rgba(31, 122, 75, 0.25);
        background: white;
    }

    @media (max-width: 991.98px) {
        #sidebar {
            position: fixed;
            z-index: 999;
            height: 100%;
            margin-left: -280px;
            border-radius: 0 20px 20px 0;
        }

        #sidebar.active {
            margin-left: 0;
        }

        #content {
            width: 100%;
            margin-left: 0;
        }

        .main-container {
            margin: 80px 10px 20px;
            padding: 20px;
            border-radius: 15px;
        }
    }

    @media (max-width: 575.98px) {
        .table-responsive {
            font-size: 0.875rem;
        }

        .btn {
            padding: 8px 12px;
        }

        .btn img {
            width: 16px;
            height: 16px;
        }

        .section-title {
            font-size: 1.2rem;
        }

        .main-container {
            padding: 15px;
        }
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Animación para elementos de la tabla */
    .table tbody tr {
        animation: slideIn 0.3s ease-out;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translateX(-20px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Efecto de carga para botones */
    .btn:active {
        transform: scale(0.98);
    }

    /* Mejoras para accesibilidad */
    .btn:focus {
        outline: 2px solid var(--primary-green);
        outline-offset: 2px;
    }