/* Contenedor principal con ancho máximo fijo */
.tc-main-container {
    max-width: 1100px;
    width: 100%;
    margin: 20px auto;
    font-family: Arial, sans-serif;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

/* Encabezado superior */
.tc-header {
    background: #f3f3f3;
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #ddd;
}
.tc-header h1 {
    margin: 0;
    font-size: 28px;
    color: #777;
    letter-spacing: 1px;
    font-weight: normal;
}
.tc-header-subtitle {
    margin: 15px auto 0;
    max-width: 900px;
    line-height: 1.5;
    font-size: 16px;
    color: #555;
}

/* Contenedor para el menú y el contenido */
.tc-body {
    display: flex;
    flex-wrap: wrap;
}

/* Menú lateral */
.tc-sidebar {
    width: 280px;
    border-right: 3px solid #ff1919;
    padding: 20px;
    background: #f9f9f9;
}
.tc-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.tc-sidebar li {
    margin-bottom: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: background 0.2s;
    border-radius: 4px;
    padding: 8px;
}
.tc-sidebar li:hover {
    background: #e8e8e8;
}
/* Circulito verde con borde rojo */
.tc-circle {
    width: 30px;
    height: 30px;
    background-color: #00a651; /* Verde */
    border-bottom: 3px solid red;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 8px;
    flex-shrink: 0;
}
/* Flecha y texto */
.tc-sidebar-text {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: #333;
    flex: 1;
}
.tc-arrow {
    margin-left: auto;
    font-weight: bold;
    color: #aaa;
}
/* Sección activa en el menú */
.tc-active-menu {
    background-color: #dff3e9;
}
.tc-active-menu .tc-sidebar-text {
    color: #00a651;
    font-weight: bold;
}
.tc-active-menu .tc-arrow {
    color: #00a651;
}

/* Contenido de la sección a la derecha */
.tc-content {
    flex: 1;
    padding: 20px;
}
/* Cada bloque se oculta por defecto */
.tc-section {
    display: none;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
/* Se muestra la sección activa */
.tc-section.tc-active {
    display: block;
}
.tc-section h2 {
    margin-top: 0;
    font-size: 20px;
    margin-bottom: 10px;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 5px;
    color: #444;
}
.tc-section p,
.tc-section li,
.tc-section ol {
    margin-bottom: 10px;
}

/* Media Queries para hacerlo responsive */
@media (max-width: 768px) {
    /* Menú y contenido en columna */
    .tc-body {
        flex-direction: column;
    }
    
    .tc-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #ddd;
        padding: 15px;
    }
    
    .tc-content {
        padding: 15px;
    }
    
    .tc-header h1 {
        font-size: 24px;
    }
    
    .tc-header-subtitle {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tc-header {
        padding: 20px 10px;
    }
    
    .tc-sidebar li {
        padding: 6px;
    }
    
    .tc-circle {
        width: 25px;
        height: 25px;
        font-size: 14px;
    }
    
    .tc-sidebar-text {
        font-size: 14px;
    }
    
    .tc-section h2 {
        font-size: 18px;
    }
    
    .tc-section,
    .tc-header-subtitle {
        font-size: 14px;
    }
}
