/* Estilos para botones de factura */
.action-buttons-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.action-button {
    width: 280px;
    max-width: 90%;
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.action-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.action-button:not(:disabled):active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.action-button i {
    margin-right: 8px;
}

/* Invoice Form Container */
.invoice-form-container {
    max-width: 500px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.invoice-form-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.invoice-form-container .text-muted {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.invoice-form-container .form-label {
    font-weight: 500;
    color: #333;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.invoice-form-container .form-control {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 0.75rem;
    font-size: 1rem;
}

.invoice-form-container .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
    outline: none;
}

.invoice-form-container .btn-primary {
    background-color: #007bff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 1rem;
    width: 100%;
    transition: background-color 0.2s;
}

.invoice-form-container .btn-primary:hover {
    background-color: #0056b3;
}

.invoice-form-container .btn-primary:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.invoice-form-container .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #f5c6cb;
}

.invoice-form-container .alert-success {
    background-color: #d4edda;
    color: #155724;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    border: 1px solid #c3e6cb;
}

.invoice-form-container .row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.invoice-form-container .col-md-3,
.invoice-form-container .col-md-4,
.invoice-form-container .col-md-5 {
    flex: 1;
    min-width: 200px;
}

.invoice-form-container .mb-3 {
    margin-bottom: 1rem;
}

/* QR Modal styles */
.qr-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000; /* Above ticket history overlay */
}

.qr-modal {
    background: white;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.qr-modal h4 {
    margin-bottom: 1rem;
    color: #333;
    font-weight: 600;
}

.qr-modal #qrContainer {
    margin: 1.5rem auto;
    display: inline-block;
}

.qr-modal .qr-instructions {
    font-size: 0.9rem;
    color: #666;
    margin-top: 1.5rem;
}

.qr-modal .btn-close {
    background: #f0f0f0;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 1.5rem;
    font-weight: 500;
}

.qr-modal .btn-close:hover {
    background: #e0e0e0;
}
