:root {
    --primary-color: #1b5e20; /* Verde oscuro */
    --secondary-color: #2e7d32; /* Verde medio */
    --accent-color: #f1f8e9; /* Verde muy claro */
    --text-white: #ffffff;
    --text-dark: #333333;
    --bg-light: #f4f7f6;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-light);
    margin: 0;
    color: var(--text-dark);
}

.navbar {
    background-color: var(--primary-color);
    padding: 1rem 2rem;
    color: var(--text-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.navbar a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: bold;
}

.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

h1, h2 {
    color: var(--primary-color);
    text-align: center;
}

.search-box {
    display: flex;
    gap: 10px;
    margin-bottom: 2rem;
}

input[type="text"], input[type="password"], input[type="date"], select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}

button {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
}

button:hover {
    background-color: var(--secondary-color);
}

.result-card {
    border: 2px solid var(--primary-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    display: inline-block;
}

.status-habilitado {
    background-color: #c8e6c9;
    color: #2e7d32;
}

.status-no-habilitado {
    background-color: #ffcdd2;
    color: #c62828;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

table th {
    background-color: var(--primary-color);
    color: white;
    padding: 12px;
    text-align: left;
}

table td {
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.login-form {
    max-width: 400px;
    margin: 5rem auto;
}

.btn-logout {
    background-color: #c62828;
}

.alert {
    padding: 10px;
    margin-bottom: 1rem;
    border-radius: 4px;
    text-align: center;
}

.alert-error {
    background-color: #ffcdd2;
    color: #c62828;
}
