/* Estilos para el ticketero - Versión actualizada */

/* Reset de estilos conflictivos */
.motivo-card {
    all: unset;
}

/* Estilos base para compatibilidad */
.container-fluid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Asegurar que el fondo se aplique correctamente */
body {
    background: linear-gradient(135deg, rgba(224,231,255,0.3) 0%, rgba(248,250,252,0.3) 100%),
                url('../img/Puerto-Varas.jpg') no-repeat center center fixed !important;
    background-size: cover !important;
    background-attachment: fixed !important;
    min-height: 100vh !important;
}

/* Estilos para compatibilidad con Bootstrap */
.btn {
    border: none;
    cursor: pointer;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* Asegurar que las alertas se vean correctamente */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.motivo-title {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
}

.motivo-description {
    color: #6c757d;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.btn-generar {
    background-color: #007bff;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: background-color 0.3s ease;
}

.motivo-card:hover .btn-generar {
    background-color: #0056b3;
}

/* Estilos para el ticket */
.ticket-container {
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
}

.ticket-header {
    border-bottom: 1px dashed #ccc;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.ticket-logo {
    max-width: 150px;
    margin-bottom: 10px;
}

.ticket-number {
    font-size: 3rem;
    font-weight: bold;
    color: #007bff;
    margin: 15px 0;
}

.ticket-info {
    margin-bottom: 15px;
}

.ticket-footer {
    border-top: 1px dashed #ccc;
    padding-top: 10px;
    margin-top: 15px;
    font-size: 0.9rem;
    color: #6c757d;
}

.btn-print {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 15px;
    transition: background-color 0.3s ease;
}

.btn-print:hover {
    background-color: #218838;
    color: white;
}

/* Estilos para el footer */
.footer {
    background-color: #007bff;
    color: white;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    margin-top: 30px;
}

.footer a {
    color: white;
    text-decoration: underline;
}

.footer a:hover {
    color: #f8f9fa;
}
