/* sat.css - Enhanced Vendor Research Dashboard */
:root {
    --primary: #233d4d;
    --secondary: #fe7f2d;
    --highlight: #fcca46;
    --support: #a1c181;
    --background: #f9f7f3;
    --text: #333333;
    --text-light: #666666;
    --border: #e9ecef;
    --success: #2b8a3e;
    --warning: #e67700;
    --error: #c92a2a;
    --info: #1971c2;
}

.fc-vendor-research {
    padding: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    font-family: 'Lora', serif;
    color: var(--text);
    background-color: var(--background);
    min-height: 100vh;
}

/* Header Styles */
.fc-page-header {
    margin-bottom: 2rem;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem 2rem;
}

.fc-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.fc-header-text {
    flex: 1;
    min-width: 300px;
}

.fc-page-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary) 0%, #1a2f3b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.fc-page-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
}

.fc-header-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.fc-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 180px;
}

.fc-stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.fc-stat-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0;
    color: var(--primary);
}

.fc-stat-content p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Quick Actions */
.fc-quick-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.fc-quick-search {
    position: relative;
    flex: 1;
    min-width: 250px;
    max-width: 400px;
}

.fc-quick-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    background-color: var(--background);
    transition: all 0.3s ease;
}

.fc-quick-search input:focus {
    outline: none;
    border-color: var(--support);
    box-shadow: 0 0 0 3px rgba(161, 193, 129, 0.2);
}

.fc-quick-search .fc-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.fc-action-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fc-action-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--primary);
    color: #fff;
}

.fc-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 61, 77, 0.3);
}

.fc-import-btn {
    background-color: var(--support);
}

.fc-export-btn {
    background-color: var(--secondary);
}

.fc-add-vendor-btn {
    background-color: var(--primary);
}

/* Tabs */
.fc-research-tabs {
    display: flex;
    border-bottom: 2px solid var(--border);
    margin-bottom: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.fc-research-tabs::-webkit-scrollbar {
    display: none;
}

.fc-tab-button {
    font-family: 'Poppins', sans-serif;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-light);
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 8px 8px 0 0;
    margin-bottom: -2px;
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}

.fc-tab-button:hover {
    color: var(--primary);
    background-color: rgba(35, 61, 77, 0.05);
    border-bottom-color: var(--secondary);
}

.fc-tab-button.active {
    color: var(--primary);
    font-weight: 600;
    border-bottom-color: var(--primary);
    background-color: rgba(35, 61, 77, 0.1);
}

/* Tab Content */
.fc-tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.fc-tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Form Container */
.fc-form-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Progress Steps */
.fc-form-progress {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    position: relative;
    padding: 0 1rem;
}

.fc-form-progress::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 5%;
    width: 90%;
    height: 2px;
    background-color: var(--border);
    z-index: 1;
}

.fc-progress-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 80px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.fc-progress-step::before {
    content: '';
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #fff;
    border: 2px solid var(--border);
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.fc-progress-step.active {
    color: var(--primary);
}

.fc-progress-step.active::before {
    border-color: var(--primary);
    background-color: var(--primary);
}

.fc-progress-step.completed::before {
    background-color: var(--support);
    border-color: var(--support);
    color: #fff;
    content: "✓";
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

/* Form Steps */
.fc-form-step {
    display: none;
}

.fc-form-step.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fc-step-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.fc-section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.fc-step-description {
    color: var(--text-light);
    margin-bottom: 0;
}

.fc-form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.fc-form-group {
    margin-bottom: 1.5rem;
}

.fc-form-group label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text);
}

.fc-form-group input[type=text],
.fc-form-group input[type=tel],
.fc-form-group input[type=url],
.fc-form-group input[type=email],
.fc-form-group select,
.fc-form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: var(--background);
    box-sizing: border-box;
}

.fc-form-group input:focus,
.fc-form-group select:focus,
.fc-form-group textarea:focus {
    outline: 0;
    border-color: var(--support);
    box-shadow: 0 0 0 3px rgba(161, 193, 129, 0.2);
}

.fc-form-group .error {
    border-color: var(--error);
}

.fc-form-group .error:focus {
    box-shadow: 0 0 0 3px rgba(201, 42, 42, 0.2);
}

.fc-form-hint {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.fc-select-wrapper {
    position: relative;
}

.fc-select-wrapper select {
    appearance: none;
    padding-right: 2.5rem;
}

.fc-select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-light);
}

/* Toggle Groups */
.fc-toggle-group {
    margin-bottom: 1.5rem;
}

.fc-toggle-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    cursor: pointer;
}

.fc-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.fc-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.fc-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.4s;
    border-radius: 34px;
}

.fc-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.4s;
    border-radius: 50%;
}

input:checked + .fc-slider {
    background-color: var(--support);
}

input:checked + .fc-slider:before {
    transform: translateX(24px);
}

.fc-toggle-content {
    margin-top: 0.75rem;
    display: none;
}

/* Categories */
.fc-categories-search {
    margin-bottom: 1rem;
}

.fc-categories-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
}

.fc-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background-color: var(--background);
}

.fc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    position: relative;
    padding-left: 35px;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.fc-checkbox-label:hover {
    color: var(--primary);
}

.fc-checkbox-custom {
    position: absolute;
    left: 0;
    top: 0;
    display: inline-block;
    width: 24px;
    height: 24px;
    border: 2px solid var(--border);
    border-radius: 6px;
    transition: all 0.2s ease;
}

input[type=checkbox] {
    display: none;
}

input[type=checkbox]:checked + .fc-checkbox-custom {
    background-color: var(--support);
    border-color: var(--support);
}

input[type=checkbox]:checked + .fc-checkbox-custom::after {
    content: "✓";
    position: absolute;
    color: #fff;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.fc-category-name {
    margin-left: 0.5rem;
}

/* Review Step */
.fc-review-container {
    background-color: var(--background);
    border-radius: 8px;
    padding: 1.5rem;
}

.fc-review-section {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

.fc-review-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.fc-review-section h4 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--primary);
}

.fc-review-field {
    display: flex;
    margin-bottom: 0.75rem;
}

.fc-review-label {
    font-weight: 500;
    min-width: 120px;
    color: var(--text);
}

.fc-review-value {
    color: var(--text-light);
}

.fc-review-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.fc-review-cat-item {
    background-color: var(--support);
    color: #fff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

/* Form Actions */
.fc-form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.fc-button {
    font-family: 'Poppins', sans-serif;
    padding: 0.875rem 1.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.fc-button-primary {
    background-color: var(--secondary);
    color: #fff;
}

.fc-button-primary:hover {
    background-color: #e57225;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(254, 127, 45, 0.3);
}

.fc-button-secondary {
    background-color: var(--primary);
    color: #fff;
}

.fc-button-secondary:hover {
    background-color: #1a2f3b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(35, 61, 77, 0.3);
}

/* Table Container Common Styles */
.fc-vendor-table-container,
.fc-activity-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 2rem;
    margin-bottom: 2rem;
}

.fc-table-controls {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.fc-table-search {
    position: relative;
    flex: 1;
    min-width: 250px;
}

.fc-table-search input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 1rem;
    background-color: var(--background);
    box-sizing: border-box;
}

.fc-search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.fc-table-filters {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.fc-table-filters select {
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: 'Lora', serif;
    font-size: 0.9rem;
    background-color: var(--background);
    min-width: 120px;
}

.fc-table-actions {
    display: flex;
    gap: 0.75rem;
}

/* Table Styles */
.fc-vendor-table-wrapper,
.fc-activity-table-wrapper {
    overflow-x: auto;
    margin-bottom: 1.5rem;
    border-radius: 8px;
    border: 1px solid var(--border);
}

.fc-vendor-table,
.fc-activity-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.fc-vendor-table th,
.fc-activity-table th {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    background-color: var(--primary);
    color: #fff;
    user-select: none;
    position: relative;
    white-space: nowrap;
}

.fc-vendor-table th {
    cursor: pointer;
}
.fc-vendor-table th:hover {
    background-color: #1a2f3b;
}

.fc-vendor-table th[data-sort]::after {
    content: '↕';
    position: absolute;
    right: 0.5rem;
    opacity: 0.5;
}

.fc-vendor-table th.asc::after { content: '↑'; opacity: 1; }
.fc-vendor-table th.desc::after { content: '↓'; opacity: 1; }

.fc-vendor-table td,
.fc-activity-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.fc-vendor-table tr:hover td,
.fc-activity-table tr:hover td {
    background-color: rgba(249, 247, 243, 0.8);
}

.fc-table-loader, .fc-table-no-data {
    text-align: center;
    padding: 2rem;
    color: var(--text-light);
}

.fc-column-checkbox { width: 40px; text-align: center; }
.fc-vendor-checkbox { width: 18px; height: 18px; cursor: pointer; }
.fc-vendor-name { font-family: 'Poppins', sans-serif; font-weight: 500; color: var(--primary); }
.fc-vendor-email { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }
.fc-category-badges { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.fc-category-badge { background-color: #e7f5ff; color: #1971c2; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; white-space: nowrap; }
.fc-notes-badge { background-color: var(--highlight); color: #333; padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.75rem; cursor: pointer; transition: all 0.2s ease; }
.fc-notes-badge:hover { background-color: #f8b832; }
.fc-priority-star { color: var(--highlight); font-size: 1.25rem; cursor: pointer; transition: transform 0.2s ease; }
.fc-priority-star:hover { transform: scale(1.2); }

/* Status Badges */
.fc-status-badge { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.85rem; font-weight: 500; display: inline-block; }
.fc-status-non-contacted { background-color: #e9ecef; color: #495057; }
.fc-status-contacted { background-color: #d0ebff; color: #1971c2; }
.fc-status-follow-up { background-color: #fff3bf; color: #e67700; }
.fc-status-onboarded { background-color: #d3f9d8; color: #2b8a3e; }
.fc-status-declined { background-color: #ffe3e3; color: #c92a2a; }
.fc-status-rejected { background-color: #f1f3f5; color: #495057; text-decoration: line-through; }

/* Contact Links & Action Buttons */
.fc-contact-link, .fc-email-link { color: var(--primary); text-decoration: none; transition: color 0.2s ease; }
.fc-contact-link:hover, .fc-email-link:hover { color: var(--secondary); text-decoration: underline; }
.fc-action-buttons { display: flex; gap: 0.5rem; }
.fc-action-button { background-color: var(--primary); border: none; cursor: pointer; border-radius: 6px; transition: all 0.2s ease; width: 32px; height: 32px; display: inline-flex; align-items: center; justify-content: center; }
.fc-action-button:hover { background-color: var(--secondary); transform: scale(1.1); }
.fc-action-button i { color: #ffffff; font-size: 14px; pointer-events: none; }

/* Activity Log Styles */
.fc-activity-container h2 { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.fc-activity-container p { margin-bottom: 2rem; color: var(--text-light); }
.fc-activity-action { padding: 0.25rem 0.5rem; border-radius: 4px; font-size: 0.85rem; font-weight: 500; text-transform: capitalize; }
.fc-action-created { background-color: #d3f9d8; color: #2b8a3e; }
.fc-action-updated { background-color: #d0ebff; color: #1971c2; }
.fc-action-deleted { background-color: #ffe3e3; color: #c92a2a; }
.fc-action-added { background-color: #e7f5ff; color: #1971c2; }
.fc-action-bulk { background-color: #fff3bf; color: #e67700; }

/* Table Footer */
.fc-table-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding-top: 1.5rem; }
.fc-table-pagination { display: flex; align-items: center; gap: 0.5rem; }
.fc-pagination-button { padding: 0.5rem 1rem; background-color: var(--background); border: 1px solid var(--border); border-radius: 4px; cursor: pointer; font-family: 'Poppins', sans-serif; transition: all 0.2s ease; }
.fc-pagination-button:hover:not(:disabled) { background-color: #e9ecef; }
.fc-pagination-button:disabled { opacity: 0.5; cursor: not-allowed; }
#page-info, #activity-page-info { font-family: 'Poppins', sans-serif; font-size: 0.9rem; color: var(--text-light); }
.fc-table-summary { font-size: 0.9rem; color: var(--text-light); }

/* Analytics Tab */
.fc-analytics-container { background: #fff; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); padding: 2rem; margin-bottom: 2rem; }
.fc-analytics-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 1rem; }
.fc-analytics-header h2 { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 600; color: var(--primary); margin: 0; }
.fc-analytics-period select { padding: 0.5rem 1rem; border: 1px solid var(--border); border-radius: 6px; font-family: 'Lora', serif; background-color: var(--background); }
.fc-analytics-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; margin-bottom: 2rem; }
.fc-analytics-card { background: #fff; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); padding: 1.5rem; display: flex; align-items: center; gap: 1rem; transition: all 0.3s ease; }
.fc-analytics-card:hover { transform: translateY(-5px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.fc-card-icon { width: 60px; height: 60px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.fc-card-content h3 { font-family: 'Poppins', sans-serif; font-size: 1.75rem; font-weight: 600; margin-bottom: 0.25rem; color: var(--primary); }
.fc-card-content p { color: var(--text-light); margin: 0; font-size: 0.9rem; }
.fc-analytics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 2rem; }
.fc-analytics-block { background-color: var(--background); padding: 1.5rem; border-radius: 8px; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
.fc-analytics-block h3 { font-family: 'Poppins', sans-serif; font-size: 1.25rem; font-weight: 600; margin-bottom: 1.5rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border); color: var(--primary); }
.fc-status-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.fc-status-card { background: #fff; border-radius: 8px; padding: 1rem; box-shadow: 0 2px 6px rgba(0,0,0,0.05); text-align: center; }
.fc-status-card-count { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--primary); }
.fc-status-card-label { font-size: 0.9rem; color: var(--text-light); }
.fc-category-list, .fc-district-list, .fc-activity-list { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-list-item { display: flex; justify-content: space-between; align-items: center; padding: 0.75rem; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.fc-list-item-name { font-weight: 500; color: var(--text); }
.fc-list-item-count { font-family: 'Poppins', sans-serif; font-weight: 600; color: var(--primary); background-color: rgba(35, 61, 77, 0.1); padding: 0.25rem 0.5rem; border-radius: 4px; }
.fc-activity-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem; background: #fff; border-radius: 6px; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.fc-activity-icon { width: 36px; height: 36px; border-radius: 50%; background-color: var(--background); display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.fc-activity-content { flex: 1; }
.fc-activity-title { font-weight: 500; color: var(--text); margin-bottom: 0.25rem; }
.fc-activity-date { font-size: 0.85rem; color: var(--text-light); }

/* Notes Styles */
.fc-notes-container { max-height: 300px; overflow-y: auto; margin-bottom: 1.5rem; padding: 1rem; background-color: var(--background); border-radius: 8px; }
.fc-note-item { padding: 1rem; background-color: #fff; border-radius: 8px; margin-bottom: 1rem; box-shadow: 0 1px 3px rgba(0,0,0,0.05); }
.fc-note-content { margin-bottom: 0.5rem; line-height: 1.5; }
.fc-note-meta { display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--text-light); }
.fc-note-author { font-weight: 500; }
.fc-add-note-form { border-top: 1px solid var(--border); padding-top: 1.5rem; }

/* Modals */
.fc-modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.5); animation: fadeIn 0.3s ease; overflow-y: auto; }
.fc-modal-content { background-color: #fff; margin: 5% auto; border-radius: 12px; width: 90%; max-width: 800px; box-shadow: 0 4px 20px rgba(0,0,0,0.2); animation: slideIn 0.3s ease; max-height: 80vh; display: flex; flex-direction: column; }
.fc-quick-view .fc-modal-content { max-width: 600px; }
.fc-modal-header { padding: 1.5rem; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; position: sticky; top: 0; background-color: #fff; border-radius: 12px 12px 0 0; z-index: 10; }
.fc-modal-header h2 { font-family: 'Poppins', sans-serif; font-size: 1.5rem; font-weight: 600; color: var(--primary); margin: 0; }
.fc-modal-close { font-size: 1.5rem; font-weight: 700; color: var(--text-light); cursor: pointer; transition: color 0.2s ease; background: none; border: none; padding: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.fc-modal-close:hover { color: var(--primary); background-color: var(--background); }
.fc-modal-body { padding: 1.5rem; overflow-y: auto; }

/* Quick View Modal */
.fc-quick-view-content { display: grid; grid-template-columns: 1fr; gap: 1.5rem; }
.fc-quick-view-section h3 { font-family: 'Poppins', sans-serif; font-size: 1.1rem; font-weight: 600; color: var(--primary); margin-bottom: 1rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border); }
.fc-contact-details { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-contact-item { display: flex; align-items: center; gap: 0.75rem; }
.fc-contact-icon { font-size: 1.25rem; width: 24px; text-align: center; }
.fc-online-presence { display: flex; flex-wrap: wrap; gap: 1rem; }
.fc-online-item { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1rem; background-color: var(--background); border-radius: 6px; font-size: 0.9rem; }
.fc-status-details { display: flex; flex-direction: column; gap: 0.75rem; }
.fc-status-item { display: flex; align-items: center; gap: 0.5rem; }
.fc-status-label { font-weight: 500; min-width: 120px; color: var(--text); }

/* Toast Notifications */
.fc-toast-container { position: fixed; bottom: 20px; right: 20px; z-index: 1100; display: flex; flex-direction: column; gap: 0.5rem; }
.fc-toast { padding: 1rem 1.5rem; border-radius: 8px; color: #fff; font-family: 'Poppins', sans-serif; font-weight: 500; box-shadow: 0 4px 12px rgba(0,0,0,0.15); animation: slideInRight 0.3s ease; display: flex; align-items: center; gap: 0.75rem; max-width: 350px; }
.fc-toast-success { background-color: var(--success); }
.fc-toast-error { background-color: var(--error); }
.fc-toast-warning { background-color: var(--warning); }
.fc-toast-info { background-color: var(--info); }
.fc-toast-icon { font-size: 1.25rem; }

/* Loading Animation */
.fc-loading { display: inline-block; width: 20px; height: 20px; border: 3px solid rgba(255, 255, 255, 0.3); border-radius: 50%; border-top-color: #fff; animation: spin 1s ease-in-out infinite; }
.fc-table-loader .fc-loading { border-top-color: var(--primary); border-right-color: transparent; border-bottom-color: transparent; border-left-color: transparent; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* Responsive Design */
@media (max-width: 1200px) { .fc-analytics-grid { grid-template-columns: 1fr; } }
@media (max-width: 1024px) {
    .fc-vendor-research { padding: 1.5rem; }
    .fc-header-content { flex-direction: column; align-items: flex-start; }
    .fc-header-stats { width: 100%; justify-content: space-between; }
    .fc-stat-item { flex: 1; min-width: auto; }
    .fc-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .fc-vendor-research { padding: 1rem; }
    .fc-page-title { font-size: 2rem; }
    .fc-research-tabs { flex-wrap: wrap; }
    .fc-tab-button { padding: 0.75rem 1rem; font-size: 0.9rem; }
    .fc-quick-actions { flex-direction: column; align-items: stretch; }
    .fc-quick-search { max-width: 100%; }
    .fc-action-buttons { width: 100%; justify-content: center; }
    .fc-table-controls, .fc-table-filters, .fc-table-footer { flex-direction: column; align-items: stretch; }
    .fc-table-actions { justify-content: center; }
    .fc-modal-content { width: 95%; margin: 10% auto; }
    .fc-stat-item { min-width: 100%; }
    .fc-form-progress { flex-wrap: wrap; gap: 1rem; padding: 0; }
    .fc-progress-step { flex: 1; min-width: 80px; font-size: 0.8rem;}
    .fc-form-progress::before { display: none; }
    .fc-status-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .fc-form-container, .fc-vendor-table-container, .fc-analytics-container, .fc-modal-header, .fc-modal-body, .fc-activity-container { padding: 1rem; }
    .fc-analytics-cards, .fc-categories-grid, .fc-status-cards { grid-template-columns: 1fr; }
    .fc-action-buttons, .fc-form-actions { flex-direction: column; }
    .fc-button { width: 100%; }
}

