/* static/css/style.css */

/* General Styles */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    flex: 1;
}

/* Card Styles */
.card {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    border: none;
    margin-bottom: 1rem;
}

.card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0,0,0,.125);
}

/* Dashboard Stats Cards */
.card.bg-primary, .card.bg-warning {
    transition: transform 0.2s;
}

.card.bg-primary:hover, .card.bg-warning:hover {
    transform: translateY(-5px);
}

/* Table Styles */
.table th {
    background-color: #f8f9fa;
    border-top: none;
}

.table-responsive {
    border-radius: 0.25rem;
}

/* Form Styles */
.form-control:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Button Styles */
.btn {
    font-weight: 500;
}

.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

.btn-primary:hover {
    background-color: #0b5ed7;
    border-color: #0a58ca;
}

/* Footer Styles */
.footer {
    background-color: #f8f9fa;
    padding: 1rem 0;
    margin-top: auto;
}

/* Alert Styles */
.alert {
    border: none;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
}

/* Print Styles for Receipt */
@media print {
    .no-print {
        display: none !important;
    }
    
    .print-only {
        display: block !important;
    }
    
    .receipt-container {
        padding: 20px;
        border: 1px solid #ddd;
        margin: 20px auto;
        max-width: 800px;
    }
    
    .receipt-header {
        text-align: center;
        margin-bottom: 30px;
    }
    
    .receipt-details {
        margin: 20px 0;
    }
    
    .receipt-footer {
        margin-top: 50px;
        text-align: right;
    }
}

/* Custom Animations */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .table-responsive {
        margin-bottom: 1rem;
    }
}

/* tooltip */
.tooltip-inner {
    max-width: 200px;
    padding: 0.5rem;
    background-color: #333;
    font-size: 0.875rem;
}

.badge-concession {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 0.65rem;
    padding: 0.25rem;
}