
/* Beer Price Comparator Styles */
.beer-price-comparator {
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
    color: #333;
    padding: 20px;
}

.bpc-header {
    text-align: center;
    margin-bottom: 40px;
}

.bpc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background-color: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    margin-bottom: 16px;
}

.beer-icon, .plus-icon {
    width: 32px;
    height: 32px;
    color: #3b82f6;
}

.plus-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
}

.bpc-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.bpc-description {
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

.bpc-form-container {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 40px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.bpc-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bpc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.bpc-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bpc-form-group label {
    font-size: 14px;
    font-weight: 500;
}

.bpc-form-group input {
    padding: 10px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    font-size: 16px;
    transition: all 0.3s;
}

.bpc-form-group input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.bpc-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border: none;
    border-radius: 6px;
    background-color: #3b82f6;
    color: white;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 8px;
}

.bpc-button:hover {
    background-color: #2563eb;
}

.bpc-empty-state {
    text-align: center;
    padding: 48px 24px;
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
}

.bpc-empty-state h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 8px;
}

.bpc-empty-state p {
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

.bpc-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.bpc-list-header h2 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.bpc-beer-count {
    font-size: 14px;
    color: #6b7280;
}

.bpc-beer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.bpc-beer-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: white;
    transition: all 0.3s;
    height: 100%;
}

.bpc-beer-card.best-value {
    border: 2px solid #10b981;
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.1);
    background-image: linear-gradient(to bottom right, rgba(16, 185, 129, 0.05), white);
}

.bpc-best-value-badge {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #10b981;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-bottom-left-radius: 6px;
}

.bpc-beer-card-content {
    padding: 16px;
}

.bpc-beer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.bpc-beer-name {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.bpc-beer-info {
    display: flex;
    gap: 8px;
    color: #6b7280;
    font-size: 14px;
}

.bpc-delete-beer {
    background: none;
    border: none;
    color: #6b7280;
    cursor: pointer;
    padding: 4px;
    transition: color 0.3s;
}

.bpc-delete-beer:hover {
    color: #ef4444;
}

.bpc-delete-beer svg {
    width: 16px;
    height: 16px;
}

.bpc-beer-price-per-liter {
    margin-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.bpc-price-per-liter-label {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 4px;
}

.bpc-price-per-liter {
    font-size: 24px;
    font-weight: 600;
}

.bpc-best-value-text {
    font-size: 12px;
    font-weight: 500;
    color: #10b981;
    font-style: italic;
}

@media (max-width: 768px) {
    .bpc-form-row {
        grid-template-columns: 1fr;
    }
    
    .bpc-beer-cards {
        grid-template-columns: 1fr;
    }
}
