body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    margin: 0;
    padding: 0;
}
.container {
    max-width: 800px;
    margin: 8% auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    text-align: center;
    color:#9e0a0e;
}
h1 {
    margin-bottom: 20px;
}
input[type="text"],
input[type="password"] {
    width: 60%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
}
button {
    padding: 10px 20px;
    background-color: #00723f;
    border: none;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
}
button:hover {
    background-color: #3f946e;
}
.menu-bar {
    background-color: #ffffff;
    color: #333333;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    padding-right:10%;
    align-items: center;
}
.info-bar {
    background-color: #00723f;
    padding: 5px;
    color: #ffffff;
    text-align: left;
}
.footer {
    background-color: #333;
    color: #fff;
    padding: 10px;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
}

form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

form input {
    width: 300px;
    padding: 10px;
    margin: 2px 0;
}

form button {
    width: 50%; /* más chico que los inputs */
    padding: 8px;
    margin-top: 10px;
}


.disclaimer-bar {
    background-color: #333; /* Azul oscuro profesional */
    color: #ecf0f1; /* Gris claro para contraste */
    overflow: hidden;
    white-space: nowrap;
    border-bottom: 2px solid #1a252f;
    position: relative;
    width: 100%;
    height: 35px;
    font-size: 14px;
    display: flex;
    align-items: center; /* Centra verticalmente el contenido */
}

.disclaimer-wrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.disclaimer-text {
    position: absolute;
    white-space: nowrap;
    animation: scroll-left 25s linear infinite;
    padding-left: 100%;
    line-height: 35px; /* Alineación vertical adicional */
}

@keyframes scroll-left {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}


.welcome-message {
    font-size: 20px;
    font-weight: bold;
    color: #00723f;
    margin-left: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Estilo para mensajes de error */
.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    opacity: 1;
    transform: translateY(0); /* Empieza en su posición */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Estilo para mensajes de éxito */
.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    padding: 12px 16px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    opacity: 1;
    transform: translateY(0); /* Empieza en su posición */
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Para hacer desaparecer los mensajes suavemente */
.hidden {
    opacity: 0;
    transform: translateY(-20px); /* Desplazamiento hacia arriba */
}


.alert {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 12px 16px;
    margin-top: 20px;
    border-radius: 5px;
    font-size: 15px;
    font-weight: 500;
    box-shadow: 0 0 8px rgba(0,0,0,0.05);
    opacity: 1;
    transform: translateY(0); /* Inicia en su lugar */
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.alert.hidden {
    opacity: 0;
    transform: translateY(-20px); /* Se desplaza hacia arriba */
}



/* Tickets Module Styles */
.badge { background:#111827; color:#fff; border-radius:999px; padding:2px 8px; font-weight:600; }
.card { backdrop-filter: saturate(1.1) blur(3px); }


/* ===== Layout for dashboard with sidebar ===== */
.layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  max-width: 1200px;
  margin: 16px auto;
  padding: 0 16px;
}
.sidebar {
  position: sticky;
  top: 16px;
  align-self: start;
}
.main {
  min-height: 60vh;
}
.footer { margin-top: 24px; }

/* Cards & Tables */
.card { background:#fff; border-radius:16px; box-shadow:0 10px 30px rgba(0,0,0,.06); padding:12px; }
.table { width:100%; border-collapse: collapse; }
.table th, .table td { padding: 8px 10px; border-bottom:1px solid #eee; text-align:left; }
.table th { font-size:12px; text-transform:uppercase; letter-spacing:.04em; color:#666; }
.table-compact th, .table-compact td { padding:6px 8px; font-size: 13px; }
.scroll-y { max-height: 380px; overflow: auto; }
.badge { background:#111827; color:#fff; border-radius:999px; padding:2px 8px; font-weight:600; }

/* Buttons */
.btn { display:inline-flex; align-items:center; gap:8px; padding:10px 14px; border:0; border-radius:12px; cursor:pointer; text-decoration:none; }
.btn-primary { background:#00723f; color:#fff; }
.btn-primary:hover { filter:brightness(0.95); }
.btn-ghost { background:transparent; border:1px solid #e5e7eb; color:#111827; }
.btn-ghost:hover { background:#f8fafc; }

/* Utility */
.muted { color:#666; font-size:12px; }
.space-y-8 > * + * { margin-top: 16px; }

@media (max-width: 980px){
  .layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
}
