:root {
    --primary: #1a365d;
    --secondary: #2c5282;
    --accent: #25D366;
    --danger: #e53e3e;
    --warning: #f6ad55;
    --bg: #f7fafc;
    --text: #2d3748;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

/* Header */
header {
    background: var(--primary);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
    border-radius: 0 0 1.5rem 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

header h1 {
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Cards */
.card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
}

.card-title {
    font-size: 0.9rem;
    color: var(--secondary);
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 1rem;
    border-bottom: 1px solid #edf2f7;
    padding-bottom: 0.5rem;
}

/* Forms & Inputs */
.input-group {
    margin-bottom: 1.2rem;
}

label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

input, select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e2e8f0;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.2s;
}

input:focus {
    outline: none;
    border-color: var(--secondary);
}

/* Buttons */
.btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: bold;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.1s, opacity 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary { background: var(--primary); color: white; }
.btn-accent { background: var(--accent); color: white; }
.btn-danger { background: var(--danger); color: white; }

/* Dashboard Grids */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.stat-box {
    background: #edf2f7;
    padding: 1rem;
    border-radius: 0.5rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.stat-label {
    font-size: 0.75rem;
    color: #718096;
}

/* Pantalla Ayudante (Dato Gigante) */
.huge-input {
    font-size: 3rem;
    text-align: center;
    font-weight: bold;
    height: 5rem;
}

.huge-btn {
    height: 6rem;
    font-size: 1.5rem;
}
