﻿

:root {
    --primary: #2c3e50;
    --accent: #3498db;
    --success: #27ae60;
    --warning: #f39c12;
    --bg-modal: rgba(0, 0, 0, 0.5);
}


/* Secciones de Contenido */
.content-section {
    margin-bottom: 30px;
}

    .content-section h2 {
        font-size: 1.1rem;
        border-left: 4px solid var(--primary);
        padding-left: 10px;
        margin-bottom: 15px;
    }

.text-block {
    line-height: 1.6;
    color: #444;
    background: #fff;
    border: 1px solid var(--gray-200);
    padding: 15px;
    border-radius: 6px;
}

/* Estado de Firmas */
.signature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.sig-card {
    border: 1px solid var(--gray-200);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

    .sig-card.approved {
        border-top: 4px solid var(--success);
    }

.sig-name {
    font-weight: bold;
    display: block;
    margin-top: 10px;
}

.sig-date {
    font-size: 0.8rem;
    color: var(--gray-700);
}




/* Línea de Tiempo (Timeline) */

.timeline {
    position: relative;
    padding-left: 30px;
    list-style: none;
}

    .timeline::before {
        content: '';
        position: absolute;
        left: 7px;
        top: 0;
        width: 2px;
        height: 100%;
        background: #e1e4e8;
    }

.timeline-item {
    position: relative;
    margin-bottom: 25px;
}

    /* Puntos de la línea de tiempo */
    .timeline-item::before {
        content: '';
        position: absolute;
        left: -31px;
        top: 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--accent);
        border: 3px solid white;
        box-shadow: 0 0 0 2px #e1e4e8;
        z-index: 1;
    }

    .timeline-item.success-item::before {
        background: var(--success);
    }

    .timeline-item.warning-item::before {
        background: var(--warning);
    }

.item-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #777;
    margin-bottom: 5px;
}

.item-title {
    font-weight: bold;
    font-size: 0.95rem;
    color: var(--primary);
    margin-bottom: 3px;
}

.item-desc {
    font-size: 0.8rem;
    color: #555;
    background: #f8f9fa;
    padding: 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: 10px;
    color: white;
    text-transform: uppercase;
}

/*.modal-footer {
    padding: 15px 20px;
    border-top: 1px solid #eee;
    text-align: right;
}
*/
.btn-close-modal {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
}