/**
 * Gaza Places - Project Cards Styling
 * Differentiated design for grassroots reconstruction projects
 */

/* ============================================================================
   PROJECT CARD - BASE STYLES (matches story-card size)
   ============================================================================ */

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: white;
    border: 2px solid #0969da;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
    padding: 0;
}

.project-card:hover {
    box-shadow: 0 4px 16px rgba(9, 105, 218, 0.2);
    transform: translateY(-2px);
    border-color: #0969da;
}

/* ============================================================================
   PROJECT CARD HEADER - IMAGE & STATUS
   ============================================================================ */

.project-card-header {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* No Image Placeholder - matches story-card-image-placeholder */
.project-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
    font-size: 0.875rem;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.project-status-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: capitalize;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    color: white;
}

.project-status-badge.planning {
    background: rgba(107, 114, 128, 0.95);
}

.project-status-badge.fundraising {
    background: rgba(234, 179, 8, 0.95);
}

.project-status-badge.in_progress,
.project-status-badge.active {
    background: rgba(9, 105, 218, 0.95);
}

.project-status-badge.completed {
    background: rgba(5, 150, 105, 0.95);
}

.project-status-badge.paused,
.project-status-badge.on_hold {
    background: rgba(245, 158, 11, 0.95);
}

.project-status-badge.cancelled {
    background: rgba(220, 38, 38, 0.95);
}

/* ============================================================================
   PROJECT CARD BODY - CONTENT
   ============================================================================ */

.project-card-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-category {
    display: inline-block;
    background: #eff6ff;
    color: #1e40af;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 4px;
    max-width: fit-content;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.project-category i {
    margin-right: 4px;
}

.project-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--rz-text-primary);
    margin: 0;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-short-desc {
    font-size: 14px;
    color: #555;
    margin: 0;
    line-height: 1.4;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================================================
   PROGRESS BARS - PROJECT & BUDGET
   ============================================================================ */

.progress-section,
.budget-section {
    margin-bottom: 0;
}

.progress-label,
.budget-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.progress {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.progress-bar.bg-success {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.progress-bar.bg-primary {
    background: linear-gradient(90deg, #3b82f6 0%, #2563eb 100%);
}

.progress-bar.bg-warning {
    background: linear-gradient(90deg, #f59e0b 0%, #d97706 100%);
}

/* ============================================================================
   PROJECT CARD FOOTER - LOCATION & ACTION
   ============================================================================ */

.project-card-footer {
    padding: 12px 16px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    background: white;
    color: #666;
}

.project-location {
    font-size: 0.875rem;
    color: #666;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.project-location i {
    color: #9ca3af;
}

/* ============================================================================
   PROJECT STATS - SUPPORTERS & UPDATES
   ============================================================================ */

.project-stats {
    display: flex;
    gap: 1rem;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.project-stat {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.project-stat i {
    color: #9ca3af;
    font-size: 0.875rem;
}

.project-stat-value {
    font-weight: 600;
    color: #374151;
}

/* ============================================================================
   PROJECT FEATURED FLAG
   ============================================================================ */

.project-featured-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: rgba(234, 179, 8, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.project-featured-badge i {
    font-size: 12px;
}

/* ============================================================================
   VERIFIED BADGE
   ============================================================================ */

.project-verified-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(5, 150, 105, 0.95);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.project-verified-badge i {
    font-size: 12px;
}

/* ============================================================================
   EMPTY STATE - NO PROJECTS
   ============================================================================ */

.projects-empty-state {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 4rem 2rem;
    min-height: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.projects-empty-state i {
    font-size: 4rem;
    color: #d1d5db;
    margin-bottom: 1rem;
}

.projects-empty-state h5 {
    color: #6b7280;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.projects-empty-state p {
    color: #9ca3af;
    max-width: 400px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

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

@media (max-width: 768px) {
    .project-card-header {
        height: 160px;
    }

    .project-card-footer {
        flex-direction: row;
        align-items: center;
        gap: 8px;
    }

    .project-stats {
        justify-content: space-around;
    }
}

/* ============================================================================
   RTL SUPPORT
   ============================================================================ */

[dir="rtl"] .project-category i {
    margin-right: 0;
    margin-left: 4px;
}

[dir="rtl"] .project-location {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-stat {
    flex-direction: row-reverse;
}

[dir="rtl"] .project-featured-badge {
    left: auto;
    right: 8px;
}

[dir="rtl"] .project-status-badge {
    right: auto;
    left: 8px;
}

[dir="rtl"] .project-verified-badge {
    margin-left: 0;
    margin-right: 0.5rem;
}

/* ============================================================================
   PROJECT DETAILS MODAL - 2 COLUMN LAYOUT (1:2 RATIO)
   ============================================================================ */

/* Modal Header - Standard Bootstrap with inline badges */
#projectDetailsModal .modal-header {
    border-bottom: 1px solid #e5e7eb;
}

#projectDetailsModal .modal-title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

/* Project Badges Section - No Card Background */
.project-badges-section {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.project-badges-section:empty {
    display: none;
}

/* Standard Badge Styles - Same as story-count-badge */
.badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: white;
}

.badge i {
    font-size: 12px;
}

/* Badge Color System - Solid Colors with Transparency */
.badge.bg-primary {
    background: rgba(9, 105, 218, 0.95) !important;
    color: white !important;
}

.badge.bg-success {
    background: rgba(5, 150, 105, 0.95) !important;
    color: white !important;
}

.badge.bg-warning {
    background: rgba(234, 179, 8, 0.95) !important;
    color: white !important;
}

.badge.bg-danger {
    background: rgba(220, 38, 38, 0.95) !important;
    color: white !important;
}

.badge.bg-secondary {
    background: rgba(107, 114, 128, 0.95) !important;
    color: white !important;
}

.badge.bg-info {
    background: rgba(14, 165, 233, 0.95) !important;
    color: white !important;
}

.badge.bg-dark {
    background: rgba(31, 41, 55, 0.95) !important;
    color: white !important;
}

/* Modal Body - 2 Column Grid with 1:2 ratio */
.project-details-body {
    padding: 0;
    background: #f9fafb;
}

/* 70:30 Layout - Content Left, Preview Right (matches story modal) */
.project-details-50-50 {
    display: flex;
    height: calc(100vh - 120px);
    overflow: hidden;
}

.project-details-content-half {
    flex: 0 0 70%;
    height: 100%;
    overflow-y: auto;
    background: white;
    display: flex;
    flex-direction: column;
    border-right: 1px solid #e5e7eb;
}

.project-details-map-half {
    flex: 0 0 30%;
    height: 100%;
    padding: 2rem;
    background: #f9fafb;
    overflow-y: auto;
}

.project-details-map-full {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

/* Content Section Styling - Clean, no cards */
.project-content-section {
    margin-bottom: 2.5rem;
}

.section-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Action Buttons */
.project-actions {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Project Image */
.project-detail-image {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.project-detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Detail modal placeholder */
.project-detail-image .project-image-placeholder {
    height: 300px;
    border-radius: 8px;
}

/* Project Description */
.project-description {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Info Grid */
.project-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.info-label {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.info-label i {
    color: #9ca3af;
    font-size: 0.875rem;
}

.info-value {
    font-size: 0.9375rem;
    color: #111827;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    display: flex;
    align-items: center;
}

.info-link {
    color: #0969da;
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.info-link:hover {
    color: #0550ae;
    border-bottom-color: #0550ae;
}

.info-link:active {
    color: #033d8b;
}

/* Creator Display with Avatar */
.creator-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.creator-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0969da 0%, #1e40af 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.creator-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    flex: 1;
}

.creator-name {
    font-size: 0.9375rem;
    font-weight: 500;
}

a.creator-name {
    color: #0969da;
}

a.creator-name:hover {
    color: #0550ae;
    text-decoration: underline;
}

.creator-verified-icon {
    color: #059669;
    font-size: 1rem;
    flex-shrink: 0;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Progress Overview */
.progress-overview {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-overview-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.progress-stat {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.progress-stat-value {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Budget Bar with Labels */
.budget-bar-with-labels {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.budget-amounts-on-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8125rem;
}

.budget-amount-on-bar {
    color: #6b7280;
    font-weight: 500;
}

.budget-amount-on-bar:first-child {
    color: #059669;
    font-weight: 600;
}

/* Objectives List */
.objectives-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid #0969da;
}

.objective-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #d1d5db;
    border-radius: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.objective-checkbox.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.objective-content {
    flex: 1;
}

.objective-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.25rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.objective-description {
    font-size: 0.8125rem;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Objective Updates - Banded/Striped Table Layout */
.section-subheading {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.objectives-table {
    margin-bottom: 0;
    border-collapse: collapse;
    width: 100%;
}

.objectives-table thead {
    background: #f9fafb;
}

.objectives-table thead th {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    border-bottom: 2px solid #d1d5db;
    text-align: left;
}

.objectives-table tbody tr.objective-row {
    transition: background-color 0.15s ease;
}

/* Striped/Banded rows */
.objectives-table tbody tr.objective-row:nth-child(4n+1),
.objectives-table tbody tr.objective-row:nth-child(4n+2) {
    background-color: white;
}

.objectives-table tbody tr.objective-row:nth-child(4n+3),
.objectives-table tbody tr.objective-row:nth-child(4n+4) {
    background-color: #f9fafb;
}

.objectives-table tbody tr.objective-row:hover {
    background-color: #f3f4f6 !important;
}

.objectives-table tbody tr.objective-row.completed {
    background-color: #f0fdf4 !important;
}

.objectives-table tbody tr.objective-row.completed:hover {
    background-color: #dcfce7 !important;
}

.objectives-table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
}

.objective-checkbox {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #d1d5db;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    background: white;
}

.objective-checkbox.completed {
    background: #10b981;
    border-color: #10b981;
    color: white;
}

.objective-title-cell {
    line-height: 1.5;
}

.objective-title-cell strong {
    color: #111827;
    font-size: 0.9375rem;
}

.objective-description-cell {
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    line-height: 1.5;
    font-size: 0.75rem;
}

/* Objective updates within table (collapsible) */
.objective-updates-list {
    background: #f9fafb;
    padding: 1rem 1.5rem;
    border-top: 1px solid #e5e7eb;
}

.update-item-inline {
    padding: 1rem;
    background: white;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border-left: 3px solid #3b82f6;
}

.update-item-inline:last-child {
    margin-bottom: 0;
}

.update-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.update-author-inline {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.update-date-inline {
    font-size: 0.8125rem;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
}

.update-content-inline {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
}

/* General Updates Section */
.general-updates-section {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.general-updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item-general {
    padding: 1rem;
    background: #fef3c7;
    border-radius: 6px;
    border-left: 3px solid #f59e0b;
}

.update-header-general {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.update-author-general {
    font-size: 0.875rem;
    font-weight: 500;
    color: #92400e;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.update-date-general {
    font-size: 0.8125rem;
    color: #b45309;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    white-space: nowrap;
}

.update-content-general {
    font-size: 0.875rem;
    color: #78350f;
    line-height: 1.6;
}

.update-content-small {
    font-size: 0.875rem;
    color: #4b5563;
    line-height: 1.6;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.update-content-small strong {
    color: #111827;
    display: block;
    margin-bottom: 0.25rem;
}

/* Community Section */
.community-section {
    margin-bottom: 2.5rem;
}

.community-section-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Team Members */
.team-members-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.team-member-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.team-member-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.team-member-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0969da 0%, #1e40af 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.team-member-info {
    flex: 1;
    min-width: 0;
}

.team-member-name {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.team-member-title {
    font-size: 0.875rem;
    font-weight: 500;
    color: #0969da;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.team-member-expertise {
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Legacy support - keeping role class for compatibility */
.team-member-role {
    font-size: 0.8125rem;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Forum Section */
.forum-section {
    margin-bottom: 2.5rem;
}

.forum-section-label {
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Project Tabs - Matches Story Modal Styling */
.project-tabs {
    border-bottom: 1px solid #dee2e6;
    padding: 0 1rem;
    background: #fff;
    margin-bottom: 0;
}

.project-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    color: #6c757d;
    padding: 1rem 1.5rem;
    transition: all 0.2s;
    font-size: 1rem;
}

.project-tabs .nav-link:hover {
    border-color: transparent;
    color: #495057;
    background-color: #f8f9fa;
}

.project-tabs .nav-link.active {
    color: #0969da;
    border-bottom-color: #0969da;
    background-color: transparent;
    font-weight: 600;
}

/* Tab Count Badges - Small Circles */
.tab-count-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    margin-left: 6px;
    background: #d1d5db;
    color: #4b5563;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.project-tabs .nav-link:hover .tab-count-badge {
    background: #0969da;
    color: white;
}

.project-tabs .nav-link.active .tab-count-badge {
    background: #0969da;
    color: white;
}

.project-tab-content {
    min-height: 400px;
    padding: 1.5rem 2rem;
    background: white;
}

/* Tab panes */
.tab-pane {
    padding: 0;
}

/* Preview Section Styling (matches story modal) */
.preview-sticky-container {
    position: sticky;
    top: 0;
}

.preview-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e5e7eb;
}

.project-checklist-card {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checklist-heading {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 1rem;
}

.project-checklist-table {
    margin-bottom: 0;
    font-size: 0.875rem;
}

.project-checklist-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
}

.project-checklist-table tbody tr:last-child {
    border-bottom: none;
}

.project-checklist-table td {
    padding: 0.75rem 0.5rem;
    vertical-align: middle;
}

.project-checklist-table td:first-child {
    font-weight: 500;
    color: #374151;
}

.project-checklist-table .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
}

/* Updates List */
.updates-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.update-item {
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
    border-left: 3px solid #0969da;
}

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

.update-author {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.update-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.update-content {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Supporters */
.supporters-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.supporter-stat {
    text-align: center;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 6px;
}

.supporter-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0969da;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.supporter-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.supporters-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.supporter-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 6px;
}

.supporter-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
}

.supporter-info {
    flex: 1;
}

.supporter-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.supporter-amount {
    font-size: 0.875rem;
    font-weight: 600;
    color: #10b981;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Resources List */
.resources-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f9fafb;
    border-radius: 6px;
}

.resource-icon {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    background: #eff6ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0969da;
    font-size: 1.125rem;
}

.resource-info {
    flex: 1;
}

.resource-name {
    font-size: 0.875rem;
    font-weight: 500;
    color: #111827;
    margin-bottom: 0.125rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.resource-type {
    font-size: 0.75rem;
    color: #6b7280;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.resource-download {
    color: #0969da;
    font-size: 1rem;
}

/* Community Table - Banded Layout (matching objectives) */
.community-table {
    margin-bottom: 0;
    border-collapse: collapse;
    width: 100%;
}

.community-table thead {
    background: #f9fafb;
}

.community-table thead th {
    font-size: 0.875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.75rem;
    border-bottom: 2px solid #d1d5db;
    text-align: left;
}

/* Striped/Banded rows */
.community-table tbody tr.community-row:nth-child(odd) {
    background-color: white;
}

.community-table tbody tr.community-row:nth-child(even) {
    background-color: #f9fafb;
}

.community-table tbody tr.community-row:hover {
    background-color: #f3f4f6 !important;
}

.community-table tbody td {
    padding: 0.75rem;
    vertical-align: middle;
    border-bottom: 1px solid #e5e7eb;
}

/* Team avatar styling */
.team-member-avatar-small {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #3b82f6;
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

/* Community stats bar */
.community-stats-bar {
    display: flex;
    gap: 2rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 8px;
}

.community-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.community-stat-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: #111827;
}

.community-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
}

.team-expertise-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Status Text - Colorful without badges */
.status-text {
    font-size: 0.875rem;
    text-transform: capitalize;
}

.status-text.planning {
    color: #6b7280;
}

.status-text.in_progress,
.status-text.active {
    color: #0969da;
}

.status-text.completed {
    color: #059669;
}

.status-text.on_hold,
.status-text.paused {
    color: #f59e0b;
}

.status-text.cancelled {
    color: #dc2626;
}

/* Comments Section - Forum Style */
.comment-form {
    background: #f9fafb;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.comment-form textarea {
    border-radius: 6px;
    border: 1px solid #d1d5db;
    font-size: 0.875rem;
    background: white;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.comment-form textarea:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
    outline: none;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.comment-item {
    display: flex;
    gap: 0.75rem;
}

.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-bottom: 0.25rem;
}

.comment-author {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.comment-date {
    font-size: 0.75rem;
    color: #9ca3af;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.comment-text {
    font-size: 0.875rem;
    color: #374151;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Responsive Design for 2-Column Layout */
@media (max-width: 992px) {
    .project-details-50-50 {
        flex-direction: column;
        height: auto;
    }

    .project-details-content-half,
    .project-details-map-half {
        flex: 0 0 auto;
        width: 100%;
        height: auto;
    }

    .project-details-content-half {
        border-right: none;
        min-height: 60vh;
    }

    .project-details-map-half {
        border-top: 1px solid #e5e7eb;
    }

    .project-details-map-full {
        height: 300px;
    }

    .project-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .project-tabs .nav-link {
        white-space: nowrap;
        font-size: 0.8125rem;
        padding: 0.75rem 0.875rem;
    }
}

@media (max-width: 768px) {
    .project-tab-content {
        padding: 1.5rem;
    }

    .project-info-grid {
        grid-template-columns: 1fr;
    }

    .supporters-stats {
        grid-template-columns: 1fr;
    }

    .project-tabs .nav-link {
        font-size: 0.75rem;
        padding: 0.625rem 0.75rem;
    }
}

/* ============================================================================
   RESOURCES TAB - TIMELINE/LIBRARY LAYOUT
   ============================================================================ */

/* Add Resource Form */
.resource-add-form {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem;
}

.resource-add-form .compact-form {
    margin: 0;
}

.resource-add-form .form-control {
    font-size: 0.875rem;
    border: 1px solid #d1d5db;
    transition: all 0.2s ease;
}

.resource-add-form .form-control:focus {
    border-color: #0969da;
    box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
    outline: none;
}

.resource-add-form textarea.form-control {
    resize: vertical;
}

/* Resources Timeline */
.resources-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.resource-entry {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
    transition: background-color 0.2s ease;
}

.resource-entry:hover {
    background-color: #f9fafb;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.resource-entry:last-child {
    border-bottom: none;
}

/* Timeline Marker - Left Side Dot */
.resource-marker {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0969da;
    border: 2px solid white;
    box-shadow: 0 0 0 2px #0969da;
    flex-shrink: 0;
    margin-top: 6px;
    position: relative;
}

/* Vertical line connecting markers */
.resource-entry:not(:last-child) .resource-marker::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 3px;
    width: 2px;
    height: calc(100% + 1rem);
    background: #e5e7eb;
}

/* Resource Content */
.resource-content {
    flex: 1;
    min-width: 0;
}

.resource-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.375rem;
    gap: 0.5rem;
}

.resource-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.resource-description {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.resource-link {
    margin-top: 0.5rem;
}

.resource-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #0969da;
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
    word-break: break-all;
}

.resource-link a:hover {
    background: #eff6ff;
    color: #0550ae;
}

.resource-link a i {
    flex-shrink: 0;
}

/* Empty State */
.resources-timeline + p.text-muted {
    padding: 2rem 1rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 768px) {
    .resource-entry {
        gap: 0.75rem;
    }

    .resource-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .resource-link a {
        font-size: 0.75rem;
    }
}

/* ============================================================================
   COMMUNITY TAB - UNIFIED LIST LAYOUT (Team + Supporters)
   ============================================================================ */

/* Community List */
.community-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.community-entry {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #e5e7eb;
    transition: background-color 0.2s ease;
}

.community-entry:hover {
    background-color: #f9fafb;
    margin-left: -1rem;
    margin-right: -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.community-entry:last-child {
    border-bottom: none;
}

/* Community Marker - Avatar/Initial Circle */
.community-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Community Content */
.community-content {
    flex: 1;
    min-width: 0;
}

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

.community-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.community-role {
    font-size: 0.8125rem;
    color: #6b7280;
    font-weight: 500;
    padding: 0.125rem 0.5rem;
    background: #f3f4f6;
    border-radius: 4px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

.community-details {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.5;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica', 'Arial', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .community-entry {
        gap: 0.75rem;
    }

    .community-marker {
        width: 36px;
        height: 36px;
        font-size: 0.875rem;
    }

    .community-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================================
   PROJECT MODAL - RADZEN THEME (matches stories)
   ============================================================================ */

/* Status badges - Radzen style matching stories */
.status-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--rz-border-radius);
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.status-badge.planning { background: #e9ecef; color: #6c757d; }
.status-badge.active { background: var(--rz-primary); color: white; }
.status-badge.in_progress { background: var(--rz-primary); color: white; }
.status-badge.completed { background: var(--rz-success); color: white; }
.status-badge.on_hold { background: var(--rz-warning); color: rgba(0,0,0,0.87); }
.status-badge.cancelled { background: var(--rz-danger); color: white; }

/* Tables - Radzen style matching stories */
.table-jira {
    background: white;
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
}

.table-jira thead th {
    background: #f8f9fa;
    color: var(--rz-text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 12px 16px;
    border-bottom: 2px solid var(--rz-border);
}

.table-jira tbody td {
    padding: 12px 16px;
    color: var(--rz-text-primary);
    font-size: 14px;
    border-bottom: 1px solid var(--rz-border-light);
}

.table-jira tbody tr:hover {
    background: #f8f9fa;
}

.table-jira tbody tr:last-child td {
    border-bottom: none;
}

/* Detail table (label-value pairs) - Radzen style */
.detail-table {
    background: white;
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
}

.detail-table tbody tr th {
    background: #f8f9fa;
    color: var(--rz-text-secondary);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 16px;
    width: 180px;
    border-bottom: 1px solid var(--rz-border-light);
    border-right: 1px solid var(--rz-border-light);
}

.detail-table tbody tr td {
    padding: 10px 16px;
    color: var(--rz-text-primary);
    font-size: 14px;
    border-bottom: 1px solid var(--rz-border-light);
}

.detail-table tbody tr:last-child th,
.detail-table tbody tr:last-child td {
    border-bottom: none;
}

/* Section headers - Radzen style */
.section-header-jira {
    font-size: 16px;
    font-weight: 600;
    color: var(--rz-text-primary);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--rz-border);
}

/* Forms - Radzen style matching stories */
.form-jira {
    background: #f8f9fa;
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
    padding: 16px;
}

.form-jira input,
.form-jira textarea {
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
    padding: 8px 12px;
    font-size: 14px;
    transition: all 0.2s;
}

.form-jira input:focus,
.form-jira textarea:focus {
    border-color: var(--rz-primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1);
}

.btn-jira {
    background: var(--rz-primary);
    color: white;
    border: none;
    border-radius: var(--rz-border-radius);
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

.btn-jira:hover {
    background: var(--rz-primary-dark);
    color: white;
    filter: brightness(0.95);
}

/* Objective cards - Radzen style matching stories */
.objective-card {
    background: white;
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
    padding: 16px;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
    box-shadow: var(--rz-shadow-1);
}

.objective-card:hover {
    box-shadow: var(--rz-shadow-3);
}

.objective-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.objective-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--rz-text-primary);
}

.objective-number {
    background: #e9ecef;
    color: var(--rz-text-secondary);
    padding: 2px 8px;
    border-radius: var(--rz-border-radius-sm);
    font-size: 11px;
    font-weight: 700;
}

.objective-description {
    font-size: 14px;
    color: var(--rz-text-secondary);
    margin-bottom: 8px;
}

.objective-meta {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: var(--rz-text-secondary);
}

/* Progress indicator - simple percentage */
.progress-jira {
    font-size: 12px;
    color: var(--rz-success);
    font-weight: 600;
}

/* Clean image display */
.project-image-jira {
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
    overflow: hidden;
    box-shadow: var(--rz-shadow-1);
}

.project-image-jira img {
    width: 100%;
    height: auto;
    display: block;
}

/* Compact field layout for Info tab - Radzen style */
.field-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--rz-text-secondary);
    letter-spacing: 0.3px;
    margin-bottom: 4px;
}

.field-value {
    font-size: 14px;
    color: var(--rz-text-primary);
    line-height: 1.5;
}

.info-field {
    background: #f8f9fa;
    border: 1px solid var(--rz-border);
    border-radius: var(--rz-border-radius);
    padding: 8px 12px;
    min-height: 60px;
    transition: box-shadow 0.2s;
}

.info-field:hover {
    box-shadow: var(--rz-shadow-1);
}

/* Tab content optimization - Radzen scrollbar */
.project-tab-content {
    height: calc(100vh - 200px);
    overflow-y: auto;
    padding: 16px;
}

.project-tab-content::-webkit-scrollbar {
    width: 8px;
}

.project-tab-content::-webkit-scrollbar-track {
    background: #f8f9fa;
}

.project-tab-content::-webkit-scrollbar-thumb {
    background: var(--rz-border);
    border-radius: var(--rz-border-radius);
}

.project-tab-content::-webkit-scrollbar-thumb:hover {
    background: #adb5bd;
}

/* Responsive - stack on mobile */
@media (max-width: 768px) {
    .project-tab-content {
        height: auto;
        max-height: calc(100vh - 150px);
    }

    .info-field {
        min-height: 50px;
    }
}
