* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f4f8;
}

.logo-bar {
    background: #ffffff;
    padding: 12px 20px;
    text-align: center;
    border-bottom: 2px solid #4a90e2;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.logo-bar .logo {
    font-size: 24px;
    font-weight: bold;
    color: #2c3e50;
    letter-spacing: 2px;
}
.logo-bar .logo span {
    color: #4a90e2;
}
.logo-bar small {
    font-size: 12px;
    color: #7f8c8d;
    display: block;
}

.login-body {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.login-container {
    background: white;
    padding: 30px 25px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    width: 90%;
    max-width: 380px;
    text-align: center;
}
.login-container .logo-placeholder {
    font-size: 32px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
}
.login-container h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-size: 1.4rem;
}
.login-container input {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
}
.login-container button {
    width: 100%;
    padding: 12px;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 15px;
}
.error-message {
    background: #ffe6e6;
    color: #e74c3c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}
.success {
    background: #e6ffe6;
    color: #27ae60;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 14px;
}

.nav-mobile {
    background: #ffffff;
    padding: 10px 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    border-bottom: 1px solid #e0e4e8;
}
.nav-mobile a {
    text-decoration: none;
    padding: 8px 14px;
    background: #f0f4f8;
    color: #2c3e50;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.3s;
}
.nav-mobile a:hover, .nav-mobile a.activo {
    background: #4a90e2;
    color: white;
}

.container {
    padding: 15px;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.card h3, .card h4 {
    color: #2c3e50;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 2px solid #4a90e2;
}

.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
th, td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #eee;
}
th {
    background: #f8f9fa;
    color: #2c3e50;
}

.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #2c3e50;
}
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
}
button, .btn {
    background: #4a90e2;
    color: white;
    padding: 10px 18px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
}
.btn-danger {
    background: #e74c3c;
}
.btn-small {
    padding: 4px 10px;
    font-size: 12px;
}
.btn-imprimir {
    background: #27ae60;
}

@media (max-width: 600px) {
    .nav-mobile a {
        padding: 6px 12px;
        font-size: 11px;
    }
    th, td {
        font-size: 11px;
        padding: 6px 4px;
    }
    .card {
        padding: 10px;
    }
}