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

:root {
    /* Naranja Corporativo Mapa Studios */
    --neon-orange: #FF5500;
    --neon-orange-dim: rgba(255, 85, 0, 0.15);
    --bg-light: #fcfcfc;
    --panel-bg: rgba(255, 255, 255, 0.85);
    --text-main: #1e293b; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    /* Cuadrícula estilo Tron Holográfica sobre blanco */
    background-image: 
        linear-gradient(var(--neon-orange-dim) 1px, transparent 1px),
        linear-gradient(90deg, var(--neon-orange-dim) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: center top;
    background-attachment: fixed;
}

h1, h2, h3, h4, .font-scifi {
    font-family: 'Rajdhani', sans-serif;
}

/* Contenedor principal Glassmorphism */
.cyber-panel {
    background: var(--panel-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 85, 0, 0.4);
    box-shadow: 0 10px 30px rgba(255, 85, 0, 0.1), inset 0 0 20px rgba(255, 85, 0, 0.05);
}

.text-glow {
    text-shadow: 0 0 10px rgba(255, 85, 0, 0.3);
}

/* Inputs y Selects */
.cyber-input {
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 85, 0, 0.3);
    color: var(--text-main);
    transition: all 0.3s ease;
    font-weight: 500;
}

.cyber-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--neon-orange);
    background-color: #ffffff;
    box-shadow: 0 0 15px rgba(255, 85, 0, 0.2), inset 0 0 5px rgba(255, 85, 0, 0.05);
}

/* Botón Principal */
.cyber-button {
    background: transparent;
    color: var(--neon-orange);
    border: 2px solid var(--neon-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px var(--neon-orange-dim), inset 0 0 5px var(--neon-orange-dim);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cyber-button:hover:not(:disabled) {
    background: var(--neon-orange);
    color: #ffffff;
    box-shadow: 0 0 20px rgba(255, 85, 0, 0.4);
    text-shadow: none;
}

.cyber-button:disabled {
    border-color: #cbd5e1;
    color: #94a3b8;
    box-shadow: none;
    cursor: not-allowed;
    background: #f1f5f9;
}

/* Botones Verde y Rojo para Aprobaciones */
.cyber-btn-green {
    background: transparent;
    color: #10b981; 
    border: 2px solid #10b981;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.15), inset 0 0 5px rgba(16, 185, 129, 0.15);
    transition: all 0.3s ease;
}
.cyber-btn-green:hover:not(:disabled) {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.cyber-btn-red {
    background: transparent;
    color: #ef4444; 
    border: 2px solid #ef4444;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.15), inset 0 0 5px rgba(239, 68, 68, 0.15);
    transition: all 0.3s ease;
}
.cyber-btn-red:hover:not(:disabled) {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.4);
}

/* Iconos de calendario */
input[type="time"]::-webkit-calendar-picker-indicator,
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(40%) sepia(80%) saturate(1500%) hue-rotate(350deg) brightness(95%);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover,
input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Spinner de Carga */
.loader-spinner {
    border: 2px solid rgba(255, 85, 0, 0.2);
    border-left-color: var(--neon-orange);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
    display: inline-block;
    vertical-align: middle;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alertas Especiales */
.cyber-alert {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.5);
    box-shadow: 0 0 15px rgba(255, 170, 0, 0.15);
}
