<style>
/* ================== BASE ================== */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

body {
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    font-size: 0.9rem;
}

/* ================== TOP BAR ================== */
.top-bar {
    background-color: #111;
    border-bottom: 1px solid #222;
    padding: 0.3rem 0;
    font-size: 0.65rem;
    overflow: hidden;
}

.social-scroll {
    display: flex;
    gap: 1rem;
    align-items: center;
    animation: scrollSocial 25s linear infinite;
    white-space: nowrap;
}

@keyframes scrollSocial {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.social-link {
    color: #ccc;
    text-decoration: none;
    transition: opacity 0.3s ease;
    font-size: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.2rem;
}

.social-link:hover {
    opacity: 0.7;
    color: #ccc;
}

.social-icon {
    font-size: 0.7rem;
}

/* ================== NAVBAR ================== */
.navbar {
    background-color: #1a1a1a !important;
    border-bottom: 1px solid #333;
    padding: 0.8rem 0;
}

.navbar-brand {
    font-size: 1rem;
}

/* ================== HERO ================== */
.hero-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 3rem 0;
}

.display-5 {
    font-size: 1.8rem;
}

.lead {
    font-size: 0.9rem;
}

/* ================== CARDS ================== */
.feature-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    transition: transform 0.3s ease;
    font-size: 0.85rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: #555;
}

/* ================== BOTONES ================== */
.btn-primary {
    background-color: #007bff !important;
    border-color: #007bff !important;
    border-radius: 8px;
    font-weight: 600;
    padding: 10px 25px;
    font-size: 0.95rem;
}

.btn-primary:hover {
    background-color: #0056b3 !important;
    border-color: #0056b3 !important;
}

/* ================== ICONOS Y AZULES ================== */
.feature-icon,
.stat-number,
.infinity-symbol,
.bi {
    color: #007bff !important;
}

/* ================== FOOTER ================== */
.footer {
    background: #1a1a1a;
    border-top: 1px solid #333;
    padding: 1.5rem 0;
    margin-top: 3rem;
    font-size: 0.8rem;
}

/* ================== LOGIN ================== */
.login-container {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    font-size: 0.85rem;
}

/* ================== TEXTOS ================== */
.text-feature {
    color: #ffffff !important;
}

h4 {
    font-size: 1.1rem;
}

h6 {
    font-size: 0.9rem;
}

.small {
    font-size: 0.8rem;
}

/* ================== ACTIVIDAD ================== */
.activity-item {
    padding: 8px 12px;
    margin-bottom: 6px;
    border-left: 3px solid #007bff;
    background-color: #2a2a2a;
    border-radius: 0 4px 4px 0;
}

.activity-time {
    font-size: 0.7rem;
    color: #888;
}

.activity-message {
    font-size: 0.8rem;
    margin-bottom: 2px;
    color: #ddd;
}

/* ================== FORMULARIOS (SIMULACRO) ================== */
.form-check-input:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.form-check-input:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.25rem rgba(0, 123, 255, 0.25);
}

/* ================== BADGES ================== */
.badge,
.badge-info,
.preguntas-badge,
.seleccionar-badge {
    background-color: #007bff !important;
    color: #ffffff !important;
    font-size: 0.75em;
}

/* ================== HISTORIAL ================== */
.historial-card {
    max-height: 400px;
    overflow-y: auto;
}

.historial-item {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    border-bottom: 1px solid #333;
    font-size: 0.85rem;
}

.historial-item:last-child {
    border-bottom: none;
}

.historial-item .fecha,
.historial-item .nota {
    color: #007bff;
    font-weight: bold;
}

.historial-item .detalle {
    color: #ccc;
    flex: 1;
    margin-left: 6px;
}
</style>
