/* Main Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 2rem;
    padding-bottom: 2rem;
    background-color: #f8f9fa;
}

.container {
    max-width: 1200px;
}

/* Header */
.app-header {
    margin-bottom: 2rem;
    text-align: center;
}

.app-header h1 {
    color: #343a40;
    font-weight: 600;
}

/* Cards */
.card {
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.product-card {
    margin-bottom: 1rem;
    border-left: 4px solid #ccc;
}

.product-card.in-grocy {
    border-left-color: #28a745;
}

.product-card.not-in-grocy {
    border-left-color: #ffc107;
}

.product-card.added {
    border-left-color: #28a745;
    opacity: 0.7;
}

/* Upload Container */
.upload-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
}

/* Processing Container */
.processing-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #f9f9f9;
    text-align: center;
}

.spinner-border {
    width: 3rem;
    height: 3rem;
}

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

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

.btn-success {
    background-color: #198754;
    border-color: #198754;
}

.btn-success:hover {
    background-color: #157347;
    border-color: #146c43;
}

/* Badges */
.badge {
    font-weight: 500;
    padding: 0.35em 0.65em;
}

/* Forms */
.form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Alerts */
.alert {
    border-radius: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }
    
    .row {
        margin-right: -8px;
        margin-left: -8px;
    }
    
    .col, .col-md-4, .col-md-6, .col-md-8 {
        padding-right: 8px;
        padding-left: 8px;
    }
}
