﻿quiero el diseño css asi: /* panel.css */
/* Contenedor general */
.panel-container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text);
}

/* Títulos de secciones */
.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-left: 5px solid var(--primary);
    padding-left: .75rem;
    color: var(--primary);
}

/* Toolbar */
.panel-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.panel-title {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--primary);
}

    .panel-title .dot {
        width: 14px;
        height: 14px;
        border-radius: 50%;
        background: var(--accent);
        box-shadow: 0 0 10px var(--accent);
    }

/* Botón tema */
.btn-theme-toggle {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    padding: .35rem .6rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    transition: .2s ease;
}

    .btn-theme-toggle:hover {
        background: var(--primary);
        color: #fff;
    }

/* Grid común de tarjetas */
.panel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

/* Tarjetas */
.panel-tile {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: var(--text);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    position: relative;
}

    .panel-tile:hover:not(.disabled) {
        transform: translateY(-6px);
        box-shadow: 0 10px 24px rgba(0,0,0,.18);
        border-color: var(--primary);
    }

    .panel-tile.disabled {
        opacity: .6;
        pointer-events: none;
        cursor: not-allowed;
    }

/* Tile header */
.tile-head {
    font-weight: 700;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: .6rem;
    margin-bottom: .5rem;
    color: inherit;
}

    .tile-head i {
        font-size: 1.4rem;
        color: var(--primary);
        flex-shrink: 0;
    }

/* Descripción */
.tile-desc {
    font-size: .92rem;
    color: var(--muted);
    margin-bottom: 1rem;
}

/* Badges */
.tile-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary);
    color: #fff;
    padding: .25rem .6rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .02em;
    user-select: none;
}

    .tile-badge.Pronto {
        background: #dc3545;
    }

/* Sección Tablas: misma “anchura visual” que Acciones, sin estirarse */
.convenios-section .panel-grid {
    grid-template-columns: repeat(auto-fit, minmax(260px, 320px));
    justify-content: center;
    gap: 1.5rem;
}

.convenios-section .panel-tile {
    max-width: 320px;
}
