@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
    --ide-yellow: #D1FF00;
    --ide-yellow-hover: #bce600;
    --ide-dark: #121212;
    --ide-gray: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.bg-dark-custom {
    background-color: var(--ide-dark) !important;
    color: #ffffff !important;
}

.bg-light-custom {
    background-color: #ffffff !important;
    color: #212529 !important;
}

/* Bootstrap calcula .text-muted con variables de tema claro; se corrige para fondos oscuros */
.bg-dark-custom .text-muted,
.modal-content-dark .text-muted {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Utilidad para las vistas */
.view-section {
    display: none;
    min-height: 100vh;
    padding-bottom: 2rem;
}
.view-section.active {
    display: flex;
    flex-direction: column;
}

/* Top Header */
.header-logo {
    padding: 1.5rem 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}
.header-logo span {
    color: var(--ide-yellow);
}

/* Botón brillante Landing */
.btn-shiny {
    background-color: var(--ide-yellow);
    color: var(--ide-dark);
    font-weight: 800;
    font-size: 1.2rem;
    padding: 1rem 2rem;
    border-radius: 8px;
    border: none;
    box-shadow: 0 0 20px rgba(209, 255, 0, 0.6);
    animation: pulse-glow 2s infinite;
    transition: transform 0.2s;
    width: 100%;
    max-width: 350px;
}

.btn-shiny:hover {
    transform: scale(1.05);
    background-color: var(--ide-yellow-hover);
}

.btn-shiny-xl {
    font-size: 1.7rem;
    padding: 1.8rem 2rem;
    border-radius: 16px;
    max-width: 420px;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 15px rgba(209, 255, 0, 0.4); }
    50% { box-shadow: 0 0 30px rgba(209, 255, 0, 0.9); }
    100% { box-shadow: 0 0 15px rgba(209, 255, 0, 0.4); }
}

/* Estilos generales de botones */
.btn-primary-custom {
    background-color: var(--ide-yellow);
    color: var(--ide-dark);
    font-weight: 600;
    padding: 0.8rem;
    border-radius: 8px;
    border: none;
    width: 100%;
}
.btn-primary-custom:hover {
    background-color: var(--ide-yellow-hover);
    color: var(--ide-dark);
}
.btn-outline-custom {
    border: 2px solid #e0e0e0;
    background: transparent;
    color: #333;
    text-align: left;
    padding: 1.2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.btn-outline-custom:hover {
    border-color: #333;
}

.btn-secondary-custom {
    background: transparent;
    color: #333;
    font-weight: 600;
    padding: 0.8rem;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
    flex: 0 0 auto;
}
.btn-secondary-custom:hover {
    border-color: #333;
}

.btn-outline-custom .icon-wrap {
    font-size: 1.3rem;
    width: 44px;
    height: 44px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f4f4f4;
    border-radius: 10px;
    color: #333;
}

/* Formularios */
.form-control {
    background-color: #f4f4f4;
    border: 1px solid #e0e0e0;
    padding: 0.8rem;
    border-radius: 8px;
}
.form-control:focus {
    box-shadow: none;
    border-color: #333;
    background-color: #fff;
}
.form-control.is-valid {
    border-color: #198754;
    background-image: none;
}
.form-control.is-invalid {
    border-color: #dc3545;
    background-image: none;
}

/* Mini alerta de error para campos obligatorios */
.alert-mini {
    background-color: rgba(220, 53, 69, 0.12);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.4);
    border-radius: 8px;
    padding: 0.6rem 0.9rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.75rem;
    text-align: center;
}

/* Progress Bar (Dots) */
.progress-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}
.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
}
.dot.active {
    background-color: var(--ide-yellow);
}

.bg-dark-custom .dot { background-color: #444; }
.bg-dark-custom .dot.active { background-color: var(--ide-yellow); }

/* Contenedor centralizado */
.content-wrapper {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* Precios */
.price-card {
    border: 1px solid #333;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    background-color: #1a1a1a;
}
.price-card.featured {
    border-color: var(--ide-yellow);
}
.price-strike {
    text-decoration: line-through;
    color: #888;
    font-size: 0.9rem;
}
.modal-content-dark {
    background-color: var(--ide-dark);
    color: white;
    border: 1px solid #333;
}
.modal-content-light {
    background-color: white;
    color: black;
    border: 1px solid #ccc;
}