/* app.css -- Custom styles for Cennik Stali UI.
   Most styling is handled by Tailwind CSS utility classes.
   Add project-specific overrides here as needed. */

/* Toast level variants */
.toast-success {
    background-color: #f0fdf4;
    border-left: 4px solid #16a34a;
    color: #166534;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toast-error {
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.toast-info {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    color: #1e40af;
    padding: 0.75rem 1rem;
    border-radius: 0.375rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Receipt / Paragon styling */
.price-receipt {
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 0.75rem;
    background: #fafafa;
    font-size: 0.875rem;
    line-height: 1.5;
}

.receipt-line {
    display: flex;
    justify-content: space-between;
    padding: 0.25rem 0;
    gap: 1rem;
}

.receipt-label {
    color: #4b5563;
    flex: 1;
    min-width: 0;
}

.receipt-amount {
    font-weight: 600;
    color: #111827;
    white-space: nowrap;
    text-align: right;
}

.receipt-missing {
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

.receipt-warning {
    font-size: 0.75rem;
    color: #d97706;
    padding-left: 0.5rem;
    padding-bottom: 0.25rem;
}

.receipt-sum {
    display: flex;
    justify-content: space-between;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
    border-top: 2px dashed #d1d5db;
    font-weight: 700;
    font-size: 1rem;
}

.receipt-sum .receipt-amount {
    color: #16a34a;
}

/* Pill button toggle (radio-based) */
.pill-btn input:checked + span {
    background-color: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}
.pill-btn span {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
    border-radius: 9999px;
    cursor: pointer;
    transition: all 0.15s ease;
    background: white;
    color: #4b5563;
}
.pill-btn span:hover {
    border-color: #9ca3af;
    background: #f9fafb;
}

/* Filter chip tag */
.filter-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    background: #eff6ff;
    color: #1d4ed8;
    border: 1px solid #bfdbfe;
    border-radius: 9999px;
    white-space: nowrap;
}

.filter-chip button {
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    background: none;
    border: none;
    color: inherit;
}

.filter-chip button:hover {
    color: #1e40af;
}

/* Filter group spacing */
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
