/* ========================================
   ESTILOS ESPECÍFICOS PARA VISTA WEB
   Refactorizado para cumplir con CSP
   ======================================== */

/* Sidebar Navigation Styles */
.sidebar__area li {
    list-style: none;
}

.sidebar__area .lista li {
    margin-bottom: 10px;
}

/* Sidebar Toggle Animation */
.sidebar-toggle-btn {
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn .line {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.sidebar-toggle-btn:hover .line {
    background-color: #007bff;
}

/* Sidebar Overlay */
.body-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.body-overlay.opened {
    opacity: 1;
    visibility: visible;
}

/* Sidebar Area */
.sidebar__area {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar__area.sidebar-opened {
    right: 0;
}

/* Sidebar Close Button */
.sidebar__close-btn {
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 14px;
    transition: color 0.3s ease;
}

.sidebar__close-btn:hover {
    color: #007bff;
}

.sidebar__close-btn i {
    font-size: 16px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 100;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.scroll-top:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

/* Modal Styles */
.modal-xs {
    max-width: 400px;
}

.modal-header .close {
    background: none;
    border: none;
    font-size: 18px;
    color: #666;
    transition: color 0.3s ease;
}

.modal-header .close:hover {
    color: #333;
}

/* Navigation Links */
.empleo {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.empleo:hover {
    color: #007bff;
    text-decoration: none;
}

.btn-alta {
    background-color: #007bff;
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-alta:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Portal Name */
.nombre-portal {
    font-weight: 600;
    color: #333;
    margin: 0;
}

/* Footer Links */
.copyright li {
    list-style: none;
    display: inline-block;
    margin-right: 15px;
}

.copyright li:last-child {
    margin-right: 0;
}

/* Responsive Adjustments */
@media (max-width: 1199px) {
    .sidebar__area {
        width: 280px;
        right: -280px;
    }
}

@media (max-width: 767px) {
    .sidebar__area {
        width: 100%;
        right: -100%;
    }
    
    .scroll-top {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
}
