body {
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #75ff4b 0%, #764ba2 100%);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px; 
    text-align: center;
    box-sizing: border-box;
}
h1, h2 {
    color: #333;
    margin-bottom: 25px;
}
p {
    color: #555;
    line-height: 1.6;
}
a {
    color: #667eea;
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover {
    color: #764ba2;
}
.button-group {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 25px;
    margin-bottom: 25px;
}
.login-form .input-group {
    margin-bottom: 20px;
    text-align: left;
}
.login-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 5px rgba(102, 126, 234, 0.5);
}
.btn {
    background: linear-gradient(135deg, #1bcb07 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.3s ease;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}
.btn.btn-secondary {
    background: #6c757d;
}
.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #f5c6cb;
}
.separator {
    border: none;
    height: 1px;
    background-color: #e0e0e0;
    margin: 30px 0;
}
.turnero {
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
    font-family: Arial, sans-serif;
    margin: 0;
}
#titulo {
    font-size: 5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
}
#numero {
    font-size: 18rem;
    font-weight: 900;
    color: #ff0000;
    font-family: 'Arial Black', 'Impact', sans-serif;
    line-height: 1;
}
#instrucciones {
    position: absolute;
    bottom: 20px;
    font-size: 1.2rem;
    color: #ccc;
    text-align: center;
}
.panel-control {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
    margin: 30px 0;
}
.controles {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.turno-en-vivo-container { 
    margin: 0; 
}
#turno-en-vivo {
    font-size: 8rem;
    font-weight: bold;
    color: #2c5282;
    background-color: #ebf8ff;
    padding: 20px 40px;
    border-radius: 10px;
    display: inline-block;
    border: 2px solid #90cdf4;
    min-width: 120px;
}
.ayuda-teclado {
    margin-top: 15px;
    font-size: 0.9em;
    color: #718096;
}
.module-header {
    font-size: 2rem;
    color: #333;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 10px;
    margin-bottom: 25px;
}
.card {
    background: #ffffff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
}
.card h3 {
    margin-top: 0;
    font-size: 1.2rem;
    color: #495057;
}
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}
.form-group {
    display: flex;
    flex-direction: column;
}
.form-group label {
    font-size: 0.9em;
    margin-bottom: 5px;
    text-align: left;
    color: #555;
    font-weight: 600;
}
.form-group input,
.form-group select {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.table-wrapper {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}
.styled-table {
    width: 100%;
    border-collapse: collapse;
}
.styled-table th, 
.styled-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e0e0e0;
}
.styled-table thead th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #495057;
    position: sticky;
    top: 0;
}
.styled-table tbody tr:hover {
    background-color: #f1f3f5;
}
.styled-table img.producto-foto-mini {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
}
.producto-foto-mini {
    width: 40px !important;
    height: 40px !important;
    object-fit: cover;
    border-radius: 50%;
    vertical-align: middle;
}
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.5); 
}
.modal-content {
    background-color: #fefefe;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 8px;
    position: relative;
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
}
.close-button:hover,
.close-button:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}