/* ========================================
   ANA LIMO - Admin Portal Styles
   Clean • Modern • Professional
   ======================================== */

/* --- RESET & VARIABLES --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --white: #ffffff;
    --off-white: #fafafa;
    --light-gray: #f5f5f7;
    --medium-gray: #e8e8ed;
    --dark-gray: #1d1d1f;
    --text-dark: #1d1d1f;
    --text-light: #86868b;

    --blue: #0071e3;
    --green: #34c759;
    --yellow: #ff9f0a;
    --red: #ff3b30;
    --purple: #af52de;

    --sidebar-width: 260px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--light-gray);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ========================================
   LOGIN PAGE
   ======================================== */

.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.login-card {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
}

.login-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.login-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.login-header .logo-text {
    color: var(--black);
}

.login-header .logo-accent {
    color: #C9A962;
    font-weight: 400;
}

.login-subtitle {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.login-form .form-group {
    position: relative;
}

.login-form .form-group input {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--medium-gray);
    color: var(--black);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
    outline: none;
}

.login-form .form-group label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: all 0.3s ease;
}

.login-form .form-group input:focus ~ label,
.login-form .form-group input:not(:placeholder-shown) ~ label {
    top: -0.75rem;
    font-size: 0.75rem;
    color: var(--black);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.login-form .form-group .input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--black);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-form .form-group input:focus ~ .input-line {
    width: 100%;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.checkbox-container input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--medium-gray);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background: var(--black);
    border-color: var(--black);
}

.checkbox-container input:checked ~ .checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.forgot-link {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.forgot-link:hover {
    color: var(--black);
}

.btn-login {
    width: 100%;
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 0.5rem;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.demo-note {
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-light);
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-top: 0.5rem;
}

.login-footer {
    text-align: center;
}

.login-footer p {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   DASHBOARD PAGE
   ======================================== */

.dashboard-page {
    display: flex;
    min-height: 100vh;
}

/* --- SIDEBAR --- */
.sidebar {
    width: var(--sidebar-width);
    background: var(--black);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.sidebar-header {
    padding: 2rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.sidebar-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    width: 100%;
    text-align: center;
}

.sidebar-header .logo-text {
    color: var(--white);
}

.sidebar-header .logo-accent {
    color: #C9A962;
    font-weight: 400;
}

.sidebar-nav {
    flex: 1;
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.875rem 1rem;
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.nav-item:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-item.active {
    color: #C9A962;
    background: rgba(255, 255, 255, 0.15);
}

.sidebar-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-item.logout:hover {
    color: var(--red);
}

/* --- MAIN CONTENT --- */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    min-height: 100vh;
}

/* --- TOP BAR --- */
.top-bar {
    background: var(--white);
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--medium-gray);
    position: sticky;
    top: 0;
    z-index: 50;
}

.page-title h1 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
}

.page-title p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.top-bar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.btn-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-dark);
}

.btn-icon:hover {
    background: var(--medium-gray);
}

.notification-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 18px;
    height: 18px;
    background: var(--red);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem 0.5rem 0.5rem;
    background: var(--light-gray);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-menu:hover {
    background: var(--medium-gray);
}

.user-avatar {
    width: 32px;
    height: 32px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.user-name {
    font-size: 0.875rem;
    font-weight: 500;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    stroke: var(--text-light);
    transition: transform 0.2s ease;
}

.user-menu {
    position: relative;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-dark);
    font-size: 0.875rem;
    transition: background 0.2s ease;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--light-gray);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
}

.dropdown-item.logout {
    color: var(--red);
}

.dropdown-item.logout svg {
    stroke: var(--red);
}

.dropdown-divider {
    height: 1px;
    background: var(--medium-gray);
    margin: 0.25rem 0;
}

/* --- DASHBOARD CONTENT --- */
.dashboard-content {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.stat-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.stat-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
}

.stat-icon.blue {
    background: rgba(0, 113, 227, 0.1);
}

.stat-icon.blue svg {
    stroke: var(--blue);
}

.stat-icon.yellow {
    background: rgba(255, 159, 10, 0.1);
}

.stat-icon.yellow svg {
    stroke: var(--yellow);
}

.stat-icon.green {
    background: rgba(52, 199, 89, 0.1);
}

.stat-icon.green svg {
    stroke: var(--green);
}

.stat-icon.purple {
    background: rgba(175, 82, 222, 0.1);
}

.stat-icon.purple svg {
    stroke: var(--purple);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

/* Content Cards */
.content-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.card-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.btn-add {
    padding: 0.5rem 1rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-add:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.view-all-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--blue);
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--text-dark);
}

/* Table */
.table-container {
    overflow-x: auto;
}

.reservations-table {
    width: 100%;
    border-collapse: collapse;
}

.reservations-table th,
.reservations-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.reservations-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    background: var(--light-gray);
}

.reservations-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.reservations-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.reservations-table td {
    font-size: 0.9375rem;
}

.reservations-table tr:hover td {
    background: var(--off-white);
}

.empty-row td {
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.reservation-id {
    font-weight: 600;
    color: var(--blue);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    height: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1;
    border-radius: 6px;
    text-transform: capitalize;
    min-width: 110px;
    white-space: nowrap;
}

.status-badge svg {
    width: 12px;
    height: 12px;
    flex-shrink: 0;
}

.status-badge.pending {
    background: rgba(255, 159, 10, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(255, 159, 10, 0.3);
}

.status-badge.confirmed {
    background: rgba(52, 199, 89, 0.1);
    color: var(--green);
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.status-badge.quote-sent {
    background: rgba(175, 82, 222, 0.12);
    color: var(--purple);
    border: 1px solid rgba(175, 82, 222, 0.3);
}

.status-badge.cancelled {
    background: rgba(255, 59, 48, 0.1);
    color: var(--red);
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Action Icons */
.action-icons {
    display: flex;
    gap: 0.5rem;
}

.icon-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.icon-btn svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-light);
}

.icon-btn:hover {
    background: var(--medium-gray);
}

.icon-btn:hover svg {
    stroke: var(--text-dark);
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.action-card h3,
.activity-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    background: var(--light-gray);
    border: none;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.2s ease;
}

.action-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-light);
}

.action-btn:hover {
    background: var(--medium-gray);
}

/* Activity List */
.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.activity-icon {
    width: 36px;
    height: 36px;
    background: var(--white);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.activity-icon svg {
    width: 16px;
    height: 16px;
    stroke: var(--green);
}

.activity-info p {
    font-size: 0.875rem;
    font-weight: 500;
}

.activity-info span {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* ========================================
   MODAL
   ======================================== */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--white);
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.modal-large {
    max-width: 700px;
}

.modal.modal-email-preview {
    max-width: 700px;
    max-height: 95vh;
}

.email-preview-container {
    background: #e5e7eb;
    padding: 20px;
    max-height: 70vh;
    overflow-y: auto;
    border-radius: 8px;
}

.email-preview-container::-webkit-scrollbar {
    width: 8px;
}

.email-preview-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.email-preview-container::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.email-preview-container::-webkit-scrollbar-thumb:hover {
    background: #a1a1a1;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: var(--medium-gray);
}

.modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    max-height: 60vh;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-item.full-width {
    grid-column: span 2;
}

.route-locations-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.detail-item label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.detail-item p {
    font-size: 1rem;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    padding: 1.5rem;
    border-top: 1px solid var(--light-gray);
}

.btn-secondary {
    padding: 0.75rem 1.25rem;
    background: var(--light-gray);
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    background: var(--medium-gray);
}

.btn-confirm {
    padding: 0.75rem 1.25rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-confirm:hover {
    filter: brightness(1.1);
}

.btn-cancel {
    padding: 0.75rem 1.25rem;
    background: var(--red);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-cancel:hover {
    filter: brightness(1.1);
}

/* ========================================
   CUSTOMER PROFILE SECTION
   ======================================== */

.customer-profile-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.customer-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.customer-avatar-large {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.customer-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.customer-avatar-placeholder {
    width: 100%;
    height: 100%;
    background: var(--black);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.customer-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.customer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-light);
    transition: color 0.2s ease;
}

.contact-link:hover {
    color: var(--blue);
}

.contact-link svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.btn-send-quote-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--black);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-send-quote-small:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-send-quote-small svg {
    width: 16px;
    height: 16px;
}

.section-divider {
    height: 1px;
    background: var(--medium-gray);
    margin: 1.5rem 0;
}

.detail-section-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
}

/* ========================================
   QUOTE MODAL
   ======================================== */

.quote-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.quote-recipient {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
}

.recipient-info {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.recipient-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
}

.recipient-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recipient-avatar span {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
}

.recipient-details {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.recipient-details strong {
    font-size: 1rem;
    font-weight: 600;
}

.recipient-details span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.form-group-admin {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group-admin label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group-admin input,
.form-group-admin textarea {
    padding: 0.875rem 1rem;
    background: var(--light-gray);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-dark);
    transition: all 0.2s ease;
}

.form-group-admin input:focus,
.form-group-admin textarea:focus {
    outline: none;
    border-color: var(--black);
    background: var(--white);
}

.form-group-admin textarea {
    resize: vertical;
    min-height: 100px;
}

.quote-summary {
    padding: 1rem;
    background: var(--off-white);
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
}

.quote-pricing-summary {
    margin-top: -0.25rem;
}

.quote-itemized-builder {
    display: grid;
    gap: 1rem;
}

.quote-itemized-section {
    padding: 1rem;
    border: 1px solid var(--medium-gray);
    border-radius: 10px;
    background: var(--off-white);
}

.quote-itemized-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    font-family: 'Montserrat', sans-serif;
}

.quote-line-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
    cursor: pointer;
}

.quote-line-option:last-child {
    border-bottom: none;
}

.quote-line-option input {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    margin-right: 0.25rem;
    accent-color: #C9A962;
}

.quote-line-label {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-dark);
}

.quote-line-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

.quote-hours-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.65rem;
    padding-top: 0.2rem;
}

.quote-hours-row label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-family: 'Montserrat', sans-serif;
}

.quote-hours-input {
    width: 120px;
    padding: 0.45rem 0.6rem;
    border: 1.5px solid #C9A962;
    border-radius: 8px;
    background: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: right;
}

.quote-hours-input:focus {
    outline: none;
    border-color: #C9A962;
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

.quote-discount-controls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.quote-discount-controls select,
.quote-discount-controls input {
    padding: 0.625rem 0.75rem;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    background: var(--white);
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
}

.quote-discount-controls select:focus,
.quote-discount-controls input:focus {
    outline: none;
    border-color: var(--black);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--medium-gray);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row.total-row span,
.summary-row.total-row strong {
    color: var(--text-dark);
    font-weight: 700;
}

.summary-row span {
    font-size: 0.875rem;
    color: var(--text-light);
}

.summary-row strong {
    font-size: 0.875rem;
    font-weight: 500;
    text-align: right;
    max-width: 60%;
}

.quote-disclaimer {
    margin-top: -0.25rem;
    font-size: 0.75rem;
    color: #92400e;
    background: #fef3c7;
    border: 1px solid #fcd34d;
    border-radius: 8px;
    padding: 0.625rem 0.75rem;
    line-height: 1.4;
}

.btn-send-quote {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-send-quote:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-send-quote svg {
    width: 18px;
    height: 18px;
}

/* ========================================
   INQUIRIES SECTION
   ======================================== */

.nav-badge {
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--red);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.status-dot.unread {
    background: var(--blue);
}

.status-dot.read {
    background: var(--medium-gray);
}

.status-dot.replied {
    background: var(--green);
}

.unread-row {
    background: rgba(0, 113, 227, 0.03);
}

.unread-row td {
    font-weight: 500;
}

/* Inquiry Modal */
.inquiry-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.inquiry-sender {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sender-avatar {
    width: 48px;
    height: 48px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 600;
}

.sender-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.sender-info a {
    font-size: 0.875rem;
    color: var(--blue);
}

.inquiry-date {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.inquiry-subject,
.inquiry-message {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.inquiry-subject label,
.inquiry-message label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.inquiry-subject p {
    font-size: 1rem;
    font-weight: 500;
}

.message-content {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    font-size: 0.9375rem;
    line-height: 1.6;
    white-space: pre-wrap;
}

.btn-reply {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-reply:hover {
    filter: brightness(1.1);
}

.btn-reply svg {
    width: 16px;
    height: 16px;
}

/* Filter Dropdown */
.filter-dropdown select {
    padding: 0.625rem 2rem 0.625rem 1rem;
    background: var(--white);
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
}

.filter-dropdown select:focus {
    outline: none;
    border-color: var(--black);
}

/* Inquiries Stats */
.inquiries-stats {
    grid-template-columns: repeat(4, 1fr);
}

/* Inquiry Cards */
.inquiries-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inquiry-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--light-gray);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.inquiry-card:hover {
    background: var(--medium-gray);
}

.inquiry-card.unread {
    background: var(--white);
    border-left-color: var(--blue);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.inquiry-card-left {
    flex-shrink: 0;
}

.inquiry-avatar {
    width: 44px;
    height: 44px;
    background: var(--black);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.inquiry-card-center {
    flex: 1;
    min-width: 0;
}

.inquiry-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.inquiry-card-header h3 {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
}

.inquiry-time {
    font-size: 0.75rem;
    color: var(--text-light);
}

.inquiry-email {
    font-size: 0.8125rem;
    color: var(--blue);
    margin-bottom: 0.375rem;
}

.inquiry-subject {
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.inquiry-preview {
    font-size: 0.8125rem;
    color: var(--text-light);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inquiry-card-right {
    flex-shrink: 0;
}

.status-pill {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 50px;
}

.status-pill.unread {
    background: var(--blue);
    color: var(--white);
}

.status-pill.read {
    background: var(--medium-gray);
    color: var(--text-light);
}

.status-pill.replied {
    background: rgba(52, 199, 89, 0.15);
    color: var(--green);
}

/* Empty State Large */
.empty-state-large {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-large svg {
    width: 64px;
    height: 64px;
    stroke: var(--medium-gray);
    margin-bottom: 1.5rem;
}

.empty-state-large h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: 'Montserrat', sans-serif;
}

.empty-state-large p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

/* Inquiry Modal Details */
.inquiry-detail {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inquiry-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1rem;
}

.inquiry-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.375rem;
}

.inquiry-subject-detail,
.inquiry-message-detail {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.inquiry-subject-detail label,
.inquiry-message-detail label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.inquiry-subject-detail p {
    font-size: 1.125rem;
    font-weight: 500;
}

.btn-delete-inquiry {
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: 1px solid var(--red);
    color: var(--red);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-delete-inquiry:hover {
    background: var(--red);
    color: var(--white);
}

@media (max-width: 1024px) {
    .inquiries-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .inquiries-stats {
        grid-template-columns: 1fr;
    }

    .inquiry-card {
        flex-direction: column;
    }

    .inquiry-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .inquiry-card-right {
        align-self: flex-start;
    }

    .inquiry-meta {
        align-items: flex-start;
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }

    .sidebar.active {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .quick-actions {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .top-bar {
        padding: 1rem;
    }

    .dashboard-content {
        padding: 1rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .detail-item.full-width {
        grid-column: span 1;
    }

    .modal-footer {
        flex-direction: column;
    }

    .modal-footer button {
        width: 100%;
    }

    .customer-profile-section {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .btn-send-quote-small {
        width: 100%;
        justify-content: center;
    }

    .customer-avatar-large {
        width: 56px;
        height: 56px;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 2rem;
    }

    .user-name {
        display: none;
    }
}

/* ========================================
   RESERVATION STATUS TABS
   ======================================== */

.status-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
    overflow-x: auto;
}

.status-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--light-gray);
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: inherit;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.status-tab:hover {
    background: var(--medium-gray);
    color: var(--text-dark);
}

.status-tab.active {
    background: var(--black);
    color: var(--white);
}

.status-tab.active .tab-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.status-tab.active .status-indicator {
    border-color: var(--white);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.pending {
    background: var(--yellow);
}

.status-indicator.confirmed {
    background: var(--green);
}

.status-indicator.quote-sent {
    background: var(--purple);
}

.status-indicator.completed {
    background: var(--blue);
}

.status-indicator.cancelled {
    background: var(--red);
}

.tab-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--medium-gray);
    color: var(--text-light);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 10px;
}

/* Customer cell in table */
.customer-cell {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.customer-name {
    font-weight: 500;
    color: var(--text-dark);
}

.customer-email {
    font-size: 0.75rem;
    color: var(--text-light);
}

.pickup-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Reservation row status highlighting */
.reservation-row.pending td:first-child {
    box-shadow: inset 3px 0 0 var(--yellow);
}

.reservation-row.confirmed td:first-child {
    box-shadow: inset 3px 0 0 var(--green);
}

.reservation-row.quote-sent td:first-child {
    box-shadow: inset 3px 0 0 var(--purple);
}

.reservation-row.completed td:first-child {
    box-shadow: inset 3px 0 0 var(--blue);
}

.reservation-row.cancelled td:first-child {
    box-shadow: inset 3px 0 0 var(--red);
}

.reservation-row.cancelled {
    opacity: 0.7;
}

.reservation-row.cancelled:hover {
    opacity: 1;
}

/* Status badge completed */
.status-badge.completed {
    background: rgba(0, 113, 227, 0.1);
    color: var(--blue);
    border: 1px solid rgba(0, 113, 227, 0.3);
}

/* Payment status badges */
.status-badge.pre-authorized {
    background: rgba(52, 199, 89, 0.15);
    color: #34c759;
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.status-badge.in-person {
    background: rgba(201, 169, 98, 0.15);
    color: #92400e;
    border: 1px solid rgba(201, 169, 98, 0.4);
}

.status-badge.paid {
    background: rgba(52, 199, 89, 0.1);
    color: var(--green);
    border: 1px solid rgba(52, 199, 89, 0.3);
}

.status-badge.payment-pending {
    background: rgba(255, 159, 10, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(255, 159, 10, 0.3);
}

.status-badge.refunded {
    background: rgba(255, 59, 48, 0.1);
    color: var(--red);
    border: 1px solid rgba(255, 59, 48, 0.3);
}

/* Search Input */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input {
    padding: 0.625rem 1rem;
    background: var(--light-gray);
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.875rem;
    font-family: inherit;
    color: var(--text-dark);
    min-width: 250px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--black);
    background: var(--white);
}

.search-input::placeholder {
    color: var(--text-light);
}

/* Date/Time Cell */
.datetime-cell {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.datetime-cell .date {
    font-weight: 500;
}

.datetime-cell .time {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Route Cell */
.route-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    width: 100%;
}

.route-cell .pickup,
.route-cell .dropoff {
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.route-cell .route-arrow {
    color: var(--text-light);
    flex-shrink: 0;
}

/* Clickable Reservation Row */
.reservation-row {
    cursor: pointer;
    transition: background 0.2s ease;
}

.reservation-row:hover td {
    background: var(--off-white);
}

/* Complete Button */
.btn-complete {
    padding: 0.75rem 1.25rem;
    background: var(--blue);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-complete:hover {
    filter: brightness(1.1);
}

@media (max-width: 768px) {
    .status-tabs {
        padding-bottom: 0.75rem;
    }

    .status-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.8125rem;
    }

    .search-input {
        min-width: 150px;
        width: 100%;
    }

    .route-cell {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .route-cell .route-arrow {
        display: none;
    }
}

/* ========================================
   REPORTS PAGE
   ======================================== */

.report-controls {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.control-group label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
}

.control-group select {
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    background: var(--light-gray);
    border: 1px solid transparent;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-dark);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2386868b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    min-width: 180px;
    transition: all 0.2s ease;
}

.control-group select:hover {
    border-color: var(--medium-gray);
}

.control-group select:focus {
    outline: none;
    border-color: var(--black);
    background-color: var(--white);
}

.btn-export {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--green);
    color: var(--white);
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-left: auto;
}

.btn-export:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 199, 89, 0.3);
}

.btn-export svg {
    width: 18px;
    height: 18px;
}

/* Report Stats */
.report-stats {
    grid-template-columns: repeat(4, 1fr);
}

/* Report Tables */
.report-table {
    width: 100%;
    border-collapse: collapse;
}

.report-table th,
.report-table td {
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.report-table th {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    background: var(--light-gray);
}

.report-table th:first-child {
    border-radius: 8px 0 0 8px;
}

.report-table th:last-child {
    border-radius: 0 8px 8px 0;
}

.report-table td {
    font-size: 0.9375rem;
}

.report-table tbody tr:hover td {
    background: var(--off-white);
}

.report-table tfoot tr.total-row td {
    background: var(--light-gray);
    font-weight: 600;
    border-top: 2px solid var(--medium-gray);
}

.report-table tfoot tr.total-row td:first-child {
    border-radius: 0 0 0 8px;
}

.report-table tfoot tr.total-row td:last-child {
    border-radius: 0 0 8px 0;
}

/* Service/Vehicle breakdown styling */
.service-name-cell {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.service-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.percentage-bar-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.percentage-bar {
    height: 8px;
    border-radius: 4px;
    min-width: 4px;
    max-width: 150px;
}

.percentage-bar-container span {
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 50px;
}

/* Tax Badge */
.tax-badge {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: rgba(52, 199, 89, 0.1);
    color: var(--green);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.info-text {
    font-size: 0.8125rem;
    color: var(--text-light);
}

/* Tax Info Card */
.tax-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 113, 227, 0.05);
    border: 1px solid rgba(0, 113, 227, 0.15);
    border-radius: 12px;
}

.tax-info-icon {
    width: 40px;
    height: 40px;
    background: rgba(0, 113, 227, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tax-info-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--blue);
}

.tax-info-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 0.375rem;
}

.tax-info-content p {
    font-size: 0.875rem;
    color: var(--text-light);
    line-height: 1.6;
}

.empty-cell {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

/* Reports Responsive */
@media (max-width: 1024px) {
    .report-controls {
        flex-wrap: wrap;
    }

    .btn-export {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .report-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .report-stats {
        grid-template-columns: 1fr;
    }

    .control-group {
        flex: 1;
        min-width: 120px;
    }

    .control-group select {
        min-width: auto;
        width: 100%;
    }

    .percentage-bar {
        max-width: 80px;
    }

    .tax-info-card {
        flex-direction: column;
    }
}
