﻿

/* =========================================
   ESTILOS OFICINA VIRTUAL - PANEL PRINCIPAL
   ========================================= */

/* Fondo general */
.ov-body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, sans-serif;
    background: radial-gradient(circle at top left, #0f172a 0, #020617 60%);
    color: #0f172a;
    overflow-x: hidden;
}
/*hidden*/
.esconde{
    
    display:none;
}

/* Capa con logo institucional */
.ov-background {
    position: fixed;
    inset: 0;
    background: url("/images/sis-bg.webp") center / cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

/* Layout general */
.page-panel {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
    width: 270px;
   /* background: #0f172a;*/
    color: white;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 25px rgba(0, 0, 0, 0.4);
}

.sidebar-header {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.avatar-circle {
    width: 58px;
    height: 58px;
    background: #2563eb;
    border-radius: 50%;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: white;
    font-weight: 600;
}

.user-info .user-name {
    font-size: 1.05rem;
    font-weight: 600;
}

.user-info .user-email {
    font-size: .85rem;
    opacity: .8;
}

/* NAV */
.sidebar-nav {
    flex: 1;
    padding: 20px 0;

}

.nav-item {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: background .15s ease, padding .15s ease, border-color .15s ease;
}

    .nav-item:hover {
        background: rgba(255,255,255,0.06);
    }

    .nav-item.active {
        background: rgba(37, 99, 235, 0.25);
        border-left-color: #2563eb;
    }

.nav-icon {
    font-size: 1.2rem;
}

/* FOOTER LOGOUT */
.sidebar-footer {
    padding: 20px;
}

.btn-logout {
    width: 100%;
    padding: 10px;
    background: transparent;
    border: 1px solid #64748b;
    border-radius: 8px;
    color: #e2e8f0;
    cursor: pointer;
    transition: background .2s ease;
}

    .btn-logout:hover {
        background: #1e293b;
    }

/* =========================================
   CONTENIDO PRINCIPAL
   ========================================= */
.panel-main {
    flex: 1;
    padding: 40px 55px;
}

/* Encabezado */
.ov-panel-header h1 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0f172a;
}

.ov-panel-header p {
    margin-top: 4px;
    color: #475569;
}

/* =========================================
   TARJETAS DE SERVICIOS
   ========================================= */
.ov-panel-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.ov-service-card {
    background: white;
    border-radius: 16px;
    padding: 26px 28px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
    transition: transform .18s ease;
}

    .ov-service-card:hover {
        transform: translateY(-4px);
    }

    .ov-service-card h2 {
        font-size: 1.25rem;
        font-weight: 700;
        color: #0f172a;
    }

    .ov-service-card p {
        color: #64748b;
    }

.ov-service-card-disabled {
    opacity: 0.6;
}

/* BOTÓN PRINCIPAL */
.ov-btn-primary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border-radius: 10px;
    margin-top: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, transform .1s ease;
}

    .ov-btn-primary:hover {
        background: #1e4cd8;
        transform: translateY(-2px);
    }

/* =========================================
   MIS SOLICITUDES
   ========================================= */
.ov-panel-requests {
    margin-top: 50px;
}

    .ov-panel-requests h2 {
        font-size: 1.45rem;
        font-weight: 700;
    }

.ov-alert {
    background: #f8fafc;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    margin-top: 12px;
}

/* Tabla */
.ov-table-wrapper {
    margin-top: 20px;
    overflow-x: auto;
}

.ov-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
    overflow: hidden;
}

    .ov-table th {
        padding: 14px;
        background: #f1f5f9;
        font-weight: 600;
        color: #475569;
        border-bottom: 1px solid #e2e8f0;
    }

    .ov-table td {
        pad
