/* assets/css/style.css */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

:root {
    --primary: #6C63FF; /* Morado Vibrante */
    --accent: #00D2FF; /* Azul Cyan */
    --dark-bg: #1a1a2e;
    --glass: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg) 0%, #16213e 100%);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* --- TARJETAS GLASSMORPHISM --- */
.card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    margin-bottom: 20px;
    text-align: center;
}

h1, h2 { margin-bottom: 1rem; font-weight: 600; letter-spacing: 1px;}
p { color: #ccc; margin-bottom: 20px; font-size: 0.9rem; }

/* --- INPUTS MODERNOS --- */
input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-size: 16px; /* Evita zoom en iPhone */
    transition: 0.3s;
}

input:focus {
    outline: none;
    border-color: var(--accent);
    background: rgba(0, 0, 0, 0.4);
}

/* --- BOTONES DEGRADADOS --- */
.btn {
    display: block;
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 4px 15px rgba(0, 210, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--glass-border);
}

.btn-danger { background: #ff4757; }

.btn:active { transform: scale(0.98); }

/* --- MENU GRID --- */
.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 100%;
}

.menu-item {
    background: var(--glass);
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 1px solid transparent;
    transition: 0.3s;
}

.menu-item:hover { border-color: var(--accent); background: rgba(255,255,255,0.15); }
.menu-item i { font-size: 2rem; margin-bottom: 10px; color: var(--accent); }

/* --- TABLA ADMIN --- */
.table-container { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; margin-top: 10px; }
th { text-align: left; color: var(--accent); border-bottom: 1px solid var(--glass-border); padding: 10px;}
td { padding: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); font-size: 0.9rem; }