/* ============================================
 * DOA Marketplace - UI Enhancements
 * Loading States, Dark Mode, Mobile, Animations
 * ============================================ */

/* Loading States */
.page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
}

.loader-content {
    position: relative;
    text-align: center;
}

.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid #F1F5F9;
    border-top-color: #0F52BA;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Skeleton Screens */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}

.skeleton-title {
    height: 32px;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 20px;
    margin-bottom: 0.75rem;
}

.skeleton-card {
    height: 120px;
    margin-bottom: 1rem;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Dark Mode Support */
[data-theme="dark"] {
    --color-bg-body: #111827;
    --color-bg-surface: #1F2937;
    --color-bg-subtle: #374151;
    --color-text-main: #F9FAFB;
    --color-text-muted: #9CA3AF;
    --color-text-light: #D1D5DB;
    --color-border: #374151;
    --color-border-hover: #4B5563;
}

[data-theme="dark"] .bg-gradient-surface,
[data-theme="dark"] .bg-gradient-surface-success,
[data-theme="dark"] .bg-gradient-surface-warning,
[data-theme="dark"] .bg-gradient-surface-danger,
[data-theme="dark"] .bg-gradient-surface-primary {
    background: var(--color-bg-surface);
    border-color: var(--color-border);
}

/* Ensure stats cards keep their color but maybe slightly dimmed if needed, 
   or just keep them as they are colorful indicators. 
   For now, we leave the strong card gradients as is, 
   but ensure the surface gradients (headers) are dark. */

[data-theme="dark"] .sidebar {
    background: linear-gradient(180deg, #1F2937 0%, #111827 100%);
}

[data-theme="dark"] .card {
    background: var(--color-bg-surface);
}

[data-theme="dark"] .table-wrapper {
    background: var(--color-bg-surface);
}

[data-theme="dark"] .btn-outline {
    background: var(--color-bg-surface);
    color: var(--color-text-main);
}

[data-theme="dark"] .hero {
    background: linear-gradient(135deg, #1F2937 0%, #111827 50%, #1F2937 100%);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: fixed;
        left: -260px;
        top: 0;
        bottom: 0;
        width: 260px;
        z-index: 1000;
        transition: left 0.3s ease;
    }

    .sidebar.mobile-open {
        left: 0;
    }

    .mobile-overlay {
        display: none;
    }

    .mobile-overlay.active,
    .sidebar.mobile-open~.mobile-overlay {
        display: block;
    }

    .main-content {
        padding: 1rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .top-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Progress Bars */
.progress-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: #F1F5F9;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0F52BA 0%, #06B6D4 100%);
    border-radius: 9999px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6B7280;
    min-width: 45px;
    text-align: right;
}

/* Form validation states */
.field-error {
    border-color: #EF4444 !important;
}

.field-success {
    border-color: #10B981 !important;
}

.field-error-message {
    color: #EF4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Stat Card with Trend */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.1);
    border: 1px solid #E2E8F0;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}

.stat-content {
    flex: 1;
}

.stat-trend {
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.25rem;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: start;
    gap: 1rem;
    padding: 1rem;
    background: #F1F5F9;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
}

.activity-item:hover {
    background: white;
    box-shadow: 0 1px 3px 0 rgba(15, 23, 42, 0.1);
}

.activity-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.75rem;
    color: #6B7280;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1rem;
}

.quick-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #0F172A;
}

.quick-action-btn:hover {
    border-color: #0F52BA;
    background: #E6F0FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.1);
}

.quick-action-btn i {
    font-size: 1.5rem;
    color: #0F52BA;
}

/* Autocomplete Dropdown */
.autocomplete-dropdown {
    position: absolute;
    z-index: 1000;
    background: white;
    border: 1px solid #E2E8F0;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1);
    max-height: 300px;
    overflow-y: auto;
}

.autocomplete-dropdown div {
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.15s;
}

.autocomplete-dropdown div:hover {
    background: #F1F5F9;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.3s ease-out;
}

.slide-up {
    animation: slideUp 0.4s ease-out;
}

.slide-down {
    animation: slideDown 0.4s ease-out;
}

/* Utility Classes */
.text-lg {
    font-size: 1.125rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-warning {
    color: #F59E0B;
}

.bg-success {
    background-color: #10B981;
}

.bg-warning {
    background-color: #F59E0B;
}

.bg-danger {
    background-color: #EF4444;
}

.rounded-full {
    border-radius: 9999px;
}

.shadow-lg {
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.1), 0 4px 6px -4px rgba(15, 23, 42, 0.1);
}

.transition-all {
    transition: all 0.3s ease;
}

/* Print Styles */
@media print {

    .sidebar,
    .dev-toolbar,
    .mobile-menu-toggle,
    .btn {
        display: none !important;
    }

    .main-content {
        padding: 0;
    }

    .app-shell {
        grid-template-columns: 1fr;
    }
}

/* ============================================
 * RFP DETAIL PAGE ENHANCEMENTS
 * ============================================ */

/* File List Styling */
.file-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: var(--color-bg-subtle);
    border-radius: var(--radius-md);
    border: 1px solid transparent;
    transition: all var(--transition-fast);
}

.file-list-item:hover {
    background: white;
    border-color: var(--color-border);
    box-shadow: var(--shadow-sm);
}

/* Detail Grids */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.detail-item-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 0.25rem;
}

.detail-item-value {
    font-weight: 600;
    color: var(--color-text-main);
    font-size: 1rem;
}

/* Proposal Badge Update */
.proposal-card {
    border-left: 4px solid transparent;
    transition: all var(--transition-fast);
}

.proposal-card:hover {
    transform: translateX(4px);
}

.proposal-card.status-accepted {
    border-left-color: var(--color-success);
}

.proposal-card.status-rejected {
    border-left-color: var(--color-danger);
    opacity: 0.8;
}

.proposal-card.status-pending {
    border-left-color: var(--color-warning);
}

/* Premium Modal Styles */
.modal-overlay {
    backdrop-filter: blur(8px);
    /* Increased blur */
    background: rgba(15, 23, 42, 0.65);
    /* Slightly darker */
}

.modal-header-premium {
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, #ffffff, #f8fafc);
    /* Subtle gradient */
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.modal-content {
    padding: 0 !important;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    /* Deeper shadow */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.6);
    /* Subtle highlight border */
}

.modal-body-premium {
    padding: 2rem;
    max-height: 70vh;
    overflow-y: auto;
    background: #ffffff;
}

.modal-footer-premium {
    padding: 1.25rem 2rem;
    background: #f8fafc;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    position: sticky;
    bottom: 0;
    z-index: 10;
}

/* Premium Form Inputs */
.form-input-premium {
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    /* Light grey bg */
    border-radius: 10px;
    /* More rounded */
    padding: 0.875rem 1rem;
    transition: all 0.2s ease;
    width: 100%;
    font-size: 0.95rem;
    color: var(--color-text-main);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.form-input-premium:focus {
    background: #ffffff;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(15, 82, 186, 0.1);
    /* Larger focus ring */
    outline: none;
}

.form-label-premium {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Section Headers in Modal */
.modal-section-title {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--color-border);
    margin-left: 1rem;
}

/* Stats Cards Enhancement */
.stat-card-premium {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 110px;
}

.stat-card-premium:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.stat-icon-wrapper {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.stat-card-premium:hover .stat-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.stat-label {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 1rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.2;
    letter-spacing: -0.01em;
    word-break: break-word;
}

/* Specific Stat Themes - Colored Backgrounds */
.stat-theme-success {
    background: linear-gradient(145deg, #ffffff 0%, #f0fdf4 100%);
    border-color: #bbf7d0;
}

.stat-theme-success .stat-icon-wrapper {
    background: #dcfce7;
    color: #16a34a;
    box-shadow: 0 4px 6px -1px rgba(22, 163, 74, 0.1);
}

.stat-theme-primary {
    background: linear-gradient(145deg, #ffffff 0%, #eff6ff 100%);
    border-color: #bfdbfe;
}

.stat-theme-primary .stat-icon-wrapper {
    background: #dbeafe;
    color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.1);
}

.stat-theme-accent {
    background: linear-gradient(145deg, #ffffff 0%, #faf5ff 100%);
    border-color: #e9d5ff;
}

.stat-theme-accent .stat-icon-wrapper {
    background: #f3e8ff;
    color: #9333ea;
    box-shadow: 0 4px 6px -1px rgba(147, 51, 234, 0.1);
}

.stat-theme-indigo {
    background: linear-gradient(145deg, #ffffff 0%, #eef2ff 100%);
    border-color: #c7d2fe;
}

.stat-theme-indigo .stat-icon-wrapper {
    background: #e0e7ff;
    color: #4f46e5;
    box-shadow: 0 4px 6px -1px rgba(79, 70, 229, 0.1);
}

.stat-theme-warning {
    background: linear-gradient(145deg, #ffffff 0%, #fffbeb 100%);
    border-color: #fde68a;
}

.stat-theme-warning .stat-icon-wrapper {
    background: #fef3c7;
    color: #d97706;
    box-shadow: 0 4px 6px -1px rgba(217, 119, 6, 0.1);
}

.stat-theme-info {
    background: linear-gradient(145deg, #ffffff 0%, #f0f9ff 100%);
    border-color: #bae6fd;
}

.stat-theme-info .stat-icon-wrapper {
    background: #e0f2fe;
    color: #0284c7;
    box-shadow: 0 4px 6px -1px rgba(2, 132, 199, 0.1);
}

.stat-theme-danger {
    background: linear-gradient(145deg, #ffffff 0%, #fef2f2 100%);
    border-color: #fecaca;
}

.stat-theme-danger .stat-icon-wrapper {
    background: #fee2e2;
    color: #dc2626;
    box-shadow: 0 4px 6px -1px rgba(220, 38, 38, 0.1);
}

/* ============================================
 * UTILITY CLASSES FOR PREMIUM UI
 * ============================================ */

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Colors */
.text-gray-400 {
    color: #9ca3af;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-600 {
    color: #4b5563;
}

.text-gray-700 {
    color: #374151;
}

.text-gray-900 {
    color: #111827;
}

.text-indigo-500 {
    color: #6366f1;
}

.text-indigo-900 {
    color: #312e81;
}

.text-blue-600 {
    color: #2563eb;
}

.text-green-700 {
    color: #15803d;
}

.bg-gray-50 {
    background-color: #f9fafb;
}

.bg-gray-100 {
    background-color: #f3f4f6;
}

.bg-indigo-50 {
    background-color: #eef2ff;
}

.bg-blue-50 {
    background-color: #eff6ff;
}

.bg-green-100 {
    background-color: #dcfce7;
}

.border-gray-100 {
    border-color: #f3f4f6;
}

.border-gray-200 {
    border-color: #e5e7eb;
}

.border-gray-300 {
    border-color: #d1d5db;
}

.border-indigo-100 {
    border-color: #e0e7ff;
}

.border-blue-100 {
    border-color: #dbeafe;
}

/* Grid */
.grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* Spacing */
.p-0 {
    padding: 0;
}

.p-2 {
    padding: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-5 {
    padding: 1.25rem;
}

.p-6 {
    padding: 1.5rem;
}

.px-6 {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.px-8 {
    padding-left: 2rem;
    padding-right: 2rem;
}

.pl-10 {
    padding-left: 2.5rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-0\.5 {
    padding-top: 0.125rem;
    padding-bottom: 0.125rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-6 {
    margin-bottom: 1.5rem;
}

/* Layout */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.z-10 {
    z-index: 10;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.left-3 {
    left: 0.75rem;
}

.top-1\/2 {
    top: 50%;
}

.transform {
    transform: translateX(0) translateY(0) rotate(0) skewX(0) skewY(0) scaleX(1) scaleY(1);
}

.-translate-y-1\/2 {
    transform: translateY(-50%);
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.min-h-\[100px\] {
    min-height: 100px;
}

.min-w-\[120px\] {
    min-width: 120px;
}

.overflow-hidden {
    overflow: hidden;
}

/* Effects */
.hover\:bg-gray-50:hover {
    background-color: #f9fafb;
}

.hover\:bg-gray-100:hover {
    background-color: #f3f4f6;
}

.hover\:bg-primary:hover {
    background-color: var(--color-primary);
}

.hover\:text-white:hover {
    color: white;
}

.hover\:text-primary:hover {
    color: var(--color-primary);
}

.hover\:border-primary\/30:hover {
    border-color: rgba(15, 82, 186, 0.3);
}

.hover\:shadow-md:hover {
    box-shadow: var(--shadow-md);
}

.shadow-xl {
    box-shadow: var(--shadow-xl);
}

.shadow-primary\/25 {
    box-shadow: 0 10px 15px -3px rgba(15, 82, 186, 0.25);
}

.rounded-xl {
    border-radius: 0.75rem;
}

.rounded-lg {
    border-radius: var(--radius-md);
}

.rounded-full {
    border-radius: 9999px;
}

.border-dashed {
    border-style: dashed;
}

.border-2 {
    border-width: 2px;
}

.cursor-pointer {
    cursor: pointer;
}

.duration-200 {
    transition-duration: 200ms;
}

.leading-relaxed {
    line-height: 1.625;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

/* ============================================
 * REDESIGNED RFP MODAL STYLES
 * ============================================ */

.ai-magic-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.875rem;
    background: linear-gradient(135deg, #EEF2FF 0%, #E0E7FF 100%);
    border: 1px solid #C7D2FE;
    border-radius: 8px;
    color: #4338CA;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.ai-magic-btn:hover {
    background: linear-gradient(135deg, #E0E7FF 0%, #C7D2FE 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(67, 56, 202, 0.15);
}

.ai-magic-btn i {
    font-size: 0.875rem;
    color: #4F46E5;
}

.modal-section-v2 {
    background: #ffffff;
}

.modal-section-title-sm {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.text-xxs {
    font-size: 0.65rem;
}

.upload-zone-premium-v2 {
    background: #F8FAFC;
    border: 2px dashed #E2E8F0;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone-premium-v2:hover {
    border-color: var(--color-primary);
    background-color: #F0F7FF;
    transform: translateY(-2px);
}

.upload-icon-circle {
    width: 56px;
    height: 56px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    box-shadow: 0 4px 10px rgba(15, 82, 186, 0.1);
    margin-bottom: 1.25rem;
    transition: all 0.3s ease;
}

.upload-zone-premium-v2:hover .upload-icon-circle {
    background: var(--color-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.upload-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1E293B;
    margin-bottom: 0.375rem;
}

.upload-subtitle {
    font-size: 0.875rem;
    color: #64748B;
}

/* Adjust modal width for a roomier feel */
#rfpModal .modal-content {
    max-width: 800px !important;
}

.modal-body-premium {
    max-height: 80vh !important;
    /* Allow slightly more height */
}