﻿/* FeedbackSummary.razor.css */

.page-content-top-section {
    
}

.list-title-section{

}

.feedback-summary {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 16px 16px 24px;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
    background: rgba(153, 153, 153, 0.10);
}

.trip-summary {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    padding: 16px 16px 16px 34px;
    align-items: center;
    gap: 16px;
    border-radius: 8px;
    background: rgba(153, 153, 153, 0.10);
}

.summary-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.2s ease;
}

    .summary-card:hover {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

.card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-number {
    display: flex;
    align-items: center;
    gap: 8px;
}

.icon {
    flex-shrink: 0;
}

.number {
    font-size: 28px;
    font-weight: 600;
    line-height: 1;
}

.label {
    color: #222221;
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
/* Card-specific colors */
.total .number {
    color: #155DFC;
    font-family: Lato;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.no-concerns .number {
    color: #10B981;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.minor-concerns .number {
    color: #F59E0B;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.significant-concerns .number {
    color: #EF4444;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.completed-trips .number {
    color: #8B5CF6;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}

.near-misses .number {
    color: #F97316;
    font-family: Lato;
    font-size: 32px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
}
/* Responsive layout */
@media (max-width: 1024px) {
    .feedback-summary {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .feedback-summary {
        grid-template-columns: 1fr;
    }
}

/* ── Vendor List Header ── */
.vendor-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 5px 20px 5px;
    /* padding-bottom: 10px; */
}

.vendor-list-title {
    color: #222221;
    font-family: Lato;
    font-size: 24px;
    font-style: normal;
    font-weight: 600;
    line-height: 36px;
}

.vendor-list-subtitle {
    margin: 0;
    color: #999;
    text-align: center;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}

.btn-add-vendor {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #8B0000;
    color: #ffffff;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}

    .btn-add-vendor:hover {
        background-color: #6e0000;
    }

.btn-icon {
    font-size: 18px;
    font-weight: 400;
    line-height: 1;
}

/* ── Search & Filter Bar ── */
.vendor-search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.search-input-wrapper {
    display: flex;
    align-items: center;
    flex: 1;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    height: 42px;
    gap: 10px;
}

.search-icon {
    color: #aaaaaa;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.search-input {
    border: none;
    outline: none;
    width: 100%;
    font-family: Lato, sans-serif;
    font-size: 14px;
    color: #333333;
    background: transparent;
}

    .search-input::placeholder {
        color: #aaaaaa;
    }

.btn-filters {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 0 18px;
    height: 42px;
    font-family: Lato, sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #333333;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}

    .btn-filters:hover {
        background-color: #f5f5f5;
        border-color: #cccccc;
    }
