/* Custom styles for Grocery List Manager */

.jumbotron {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 1px solid #dee2e6;
}

.card {
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.list-item {
    transition: opacity 0.3s ease;
}

.list-item.checked {
    opacity: 0.6;
    text-decoration: line-through;
}

.badge-current {
    background-color: #28a745;
}

.printer-status.connected {
    color: #28a745;
}

.printer-status.disconnected {
    color: #dc3545;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #dee2e6;
}

.timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 8px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #007bff;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #dee2e6;
}

.ai-input {
    min-height: 100px;
}

.stats-card {
    text-align: center;
    padding: 20px;
}

.stats-card h3 {
    color: #007bff;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .btn-group.w-100 .btn {
        font-size: 0.8rem;
    }
    
    .card-title {
        font-size: 1.1rem;
    }
}

/* Print styles */
@media print {
    .navbar,
    .btn,
    .card-header,
    footer {
        display: none !important;
    }
    
    .container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
}