/* Vessel Detail Redesigned Page Styles */
/* Professional maritime intelligence styling matching company detail design */
/* Using exact same CSS patterns as company_claims_details.css for consistency */

:root {
    --vp-navy: #1e3a5f;
    --vp-teal: #20c997;
    --vp-light-blue: #e8f4fd;
}

/* Import exact styling from company detail page */
.vessel-header {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    color: white;
    padding: 2rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.vessel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    z-index: 1;
}

.vessel-header > * {
    position: relative;
    z-index: 2;
}

/* Fleet Analytics Section Styling - Matching company detail patterns */
.fleet-analytics-section {
    position: relative;
}

.fleet-analytics-section .card {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    background: #ffffff;
}

.fleet-analytics-section .card-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 1.5rem;
}

.fleet-analytics-section .card-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937 !important;
    margin-bottom: 0.5rem;
}

.fleet-analytics-section .card-header h3 i {
    color: #0f766e;
}

.fleet-analytics-section .card-header p {
    color: #6b7280 !important;
    margin-bottom: 0;
    font-size: 0.95rem;
}

.fleet-analytics-section .card-body {
    padding: 2rem;
    background: #ffffff;
}

/* Company Information Panel Styling - Matching company detail */
.company-info-panel {
    transition: box-shadow 0.2s ease;
    position: sticky;
    top: 80px;
    z-index: 100;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.company-info-panel .card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #e2e8f0 !important;
    padding: 1.5rem !important;
}

.company-info-panel .card-header h3 {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #1f2937 !important;
    margin-bottom: 0 !important;
}

.company-info-panel .card-header h3 i {
    color: #0f766e !important;
}

.company-info-panel .info-item {
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb !important;
}

.company-info-panel .info-icon i {
    font-size: 1.1rem;
}

.company-info-panel .text-muted {
    color: #6b7280 !important;
}

/* Live Operations spec-card styling - only for Live Operations cards */
.live-operations-card {
    padding: 1.5rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-align: left;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.live-operations-card:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* AIS Map Styling */
#ais-map {
    height: 450px;
    min-height: 400px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid #dee2e6;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
    display: block;
}

/* Modern Map Styling */
.leaflet-container {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    height: 100% !important;
    width: 100% !important;
    border-radius: 12px;
    z-index: 1;
}

/* Ensure map tiles load properly */
.leaflet-tile-pane {
    z-index: 1;
}

/* Ensure map controls are visible */
.leaflet-control-container {
    z-index: 1000;
}

/* Clean zoom controls */
.leaflet-control-zoom {
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.leaflet-control-zoom a {
    background: rgba(255, 255, 255, 0.95) !important;
    border: none !important;
    color: #495057 !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    transition: all 0.2s ease !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-zoom a:hover {
    background: rgba(32, 201, 151, 0.95) !important;
    color: white !important;
    transform: scale(1.05);
}

.leaflet-control-zoom a:first-child {
    border-radius: 8px 8px 0 0 !important;
}

.leaflet-control-zoom a:last-child {
    border-radius: 0 0 8px 8px !important;
}

/* Clean scale control */
.leaflet-control-scale {
    background: rgba(255, 255, 255, 0.9) !important;
    border: none !important;
    border-radius: 6px !important;
    padding: 2px 6px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-scale-line {
    border: 2px solid #495057 !important;
    border-top: none !important;
    color: #495057 !important;
    font-size: 11px !important;
    font-weight: 600 !important;
}

/* Compact popup styling */
.compact-vessel-popup .leaflet-popup-content-wrapper {
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    padding: 8px 12px !important;
    overflow: hidden;
    min-width: 180px !important;
    max-width: 200px !important;
}

.compact-vessel-popup .leaflet-popup-content {
    margin: 0 !important;
    font-size: 12px !important;
    line-height: 1.3 !important;
    width: 180px !important;
}

.compact-vessel-popup .leaflet-popup-close-button {
    color: #6c757d !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 4px !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    background: rgba(108, 117, 125, 0.1) !important;
    transition: all 0.2s ease !important;
    top: 6px !important;
    right: 6px !important;
    line-height: 16px !important;
}

.compact-vessel-popup .leaflet-popup-close-button:hover {
    background: rgba(220, 53, 69, 0.1) !important;
    color: #dc3545 !important;
    transform: scale(1.1);
}

.compact-vessel-popup .leaflet-popup-tip {
    background: white !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Attribution styling */
.leaflet-control-attribution {
    background: rgba(255, 255, 255, 0.8) !important;
    border-radius: 6px !important;
    font-size: 10px !important;
    padding: 2px 6px !important;
    backdrop-filter: blur(10px);
}

.leaflet-control-attribution a {
    color: #6c757d !important;
    text-decoration: none !important;
}

/* Map tiles fade-in effect */
.map-tiles {
    transition: opacity 0.3s ease-in-out;
}

.vessel-marker {
    background-color: #0d6efd;
    border: 2px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Analytics card styling for AIS section */
.analytics-card {
    transition: all 0.2s ease;
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

/* Vessel Header - matching company header design exactly */
.vessel-header {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    color: white;
    padding: 2rem 0 1.5rem 0;
    position: relative;
    overflow: hidden;
    min-height: auto;
}

.vessel-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.05);
    z-index: 1;
}

.vessel-header > * {
    position: relative;
    z-index: 2;
}

/* Hero CTA Buttons - matching company detail */
.hero-ctas {
    margin-top: 1.5rem;
    position: relative;
    z-index: 10;
}

.hero-ctas .btn {
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
    z-index: 11;
}

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

.hero-ctas .btn-light:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.vessel-logo {
    max-width: 80px;
    max-height: 80px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Vessel stats in hero section */
.vessel-header .vessel-stat-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.vessel-header .vessel-stat-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.vessel-header .stat-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.vessel-header .stat-content {
    flex: 1;
}

.vessel-header .stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.vessel-header .stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    font-weight: 500;
}

/* Section styling matching company detail */
.vessel-section {
    padding: 3rem 0;
    background: white;
}

.vessel-section:nth-child(even) {
    background: #f8f9fa;
}

/* Container adjustments for better spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

@media (max-width: 991.98px) {
    .company-info-panel {
        position: static !important;
        max-height: none !important;
        top: auto !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #0f766e;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 0.75rem;
    color: #0f766e;
}

/* Cards styling */
.vessel-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    overflow: hidden;
}

.vessel-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.vessel-card-header {
    background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-bottom: none;
}

.vessel-card-body {
    padding: 1.5rem;
}

/* Specification cards */
.spec-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.spec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.spec-card .card-body {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.spec-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--vp-teal) 0%, #1aa179 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.spec-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a5f;
    margin-bottom: 0.5rem;
}

.spec-label {
    font-size: 0.875rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.spec-description {
    font-size: 0.8rem;
    color: #8e9aaf;
    margin-top: auto;
}

/* Additional AIS Map styling */
#ais-map .leaflet-container {
    border-radius: 12px;
}

/* AI Insights styling */
.ai-insight-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.ai-insight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Related vessels styling */
.related-vessel-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    position: relative;
}

.related-vessel-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(46, 196, 182, 0.15);
    text-decoration: none;
    color: inherit;
    border-color: var(--vp-teal);
}

/* Remove inner borders and create clean grid layout */
.related-vessel-card .vessel-header-section {
    padding: 1.25rem 1.25rem 0 1.25rem;
    border-bottom: none;
}

.related-vessel-card .vessel-icon-container {
    flex-shrink: 0;
}

.related-vessel-card .vessel-icon-circle {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--vp-teal) 0%, #1aa179 100%);
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
}

.related-vessel-card .vessel-info {
    flex: 1;
    min-width: 0;
}

.related-vessel-card .vessel-name {
    color: #1e293b;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.related-vessel-card .vessel-imo {
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.related-vessel-card .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

/* Clean specs grid without inner borders */
.related-vessel-card .vessel-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 0 1.25rem;
    margin-bottom: 0;
}

.related-vessel-card .spec-item {
    text-align: center;
    padding: 0.75rem 0;
    border: none;
    background: transparent;
}

.related-vessel-card .spec-value {
    font-size: 0.9rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.related-vessel-card .spec-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Clean operator section */
.related-vessel-card .vessel-operator {
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-top: none;
    margin: 0;
}

.related-vessel-card .operator-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #374151;
}

.related-vessel-card .operator-label {
    font-size: 0.7rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Company links in related vessel cards */
.related-vessel-card .operator-name a {
    transition: all 0.2s ease;
    color: var(--vp-teal) !important;
}

.related-vessel-card .operator-name a:hover {
    color: #1aa179 !important;
    text-decoration: underline !important;
    transform: translateX(2px);
}

.related-vessel-card .operator-name a:hover .fa-external-link-alt {
    transform: translateX(2px) translateY(-1px);
}

/* Clean top-right CTA button - the preferred approach */
.related-vessel-card .cta-button {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.95);
    color: var(--vp-teal);
    border: 1.5px solid var(--vp-teal);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    opacity: 0;
    transform: scale(0.85) translateY(-5px);
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(46, 196, 182, 0.2);
    z-index: 15;
    cursor: pointer;
}

.related-vessel-card:hover .cta-button {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.related-vessel-card .cta-button:hover {
    background: var(--vp-teal);
    color: white;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 4px 16px rgba(46, 196, 182, 0.4);
}

/* Enhanced operator section visibility */
.related-vessel-card .vessel-operator {
    position: relative;
    z-index: 5;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.related-vessel-card:hover .vessel-operator {
    background: #f1f5f9;
    border-top-color: #cbd5e1;
}

/* Sidebar operator section */
.operator-section .text-primary {
    transition: all 0.2s ease;
}

.operator-section .text-primary:hover {
    color: #1aa179 !important;
    transform: translateX(2px);
}

.operator-section .text-primary:hover .fa-external-link-alt {
    transform: translateX(2px) translateY(-1px);
}

.operator-section .p-2:hover {
    background: #f8fafc !important;
    border-radius: 6px;
    border: 1px solid rgba(46, 196, 182, 0.2);
}

/* Clean vessel info rows without background */
.vessel-info-compact .info-row {
    transition: all 0.2s ease;
}

.vessel-info-compact .info-row:hover {
    background: #f8fafc !important;
    border-radius: 6px;
}

/* Professional section copy button styling */
.section-copy-btn {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
    border-color: #0f766e !important;
    color: #0f766e !important;
}

.section-copy-btn:hover {
    background-color: #0f766e !important;
    border-color: #0f766e !important;
    color: white !important;
    transform: translateY(-1px);
}

/* Better visual hierarchy */
.related-vessel-card:hover .vessel-name {
    color: var(--vp-teal);
}

.related-vessel-card:hover .vessel-icon-circle {
    background: linear-gradient(135deg, #1aa179 0%, var(--vp-teal) 100%);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .related-vessel-card .vessel-specs-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .related-vessel-card .vessel-header-section {
        padding: 1rem;
    }

    .related-vessel-card .vessel-specs-grid {
        padding: 0 1rem;
    }

    .related-vessel-card .vessel-operator {
        padding: 0.5rem 1rem;
    }
}

/* Sticky Sidebar Styles */
.vessel-sticky-sidebar {
    position: fixed;
    top: 50%;
    right: -320px;
    transform: translateY(-50%);
    width: 300px;
    background: white;
    border-radius: 12px 0 0 12px;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: right 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 80vh;
    overflow-y: auto;
}

.vessel-sticky-sidebar.show {
    right: 0;
}

.sidebar-content {
    padding: 1.5rem;
}

.sidebar-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e9ecef;
}

.vessel-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--vp-teal) 0%, #1aa179 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

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

.vessel-name {
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.vessel-imo {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 500;
}

.sidebar-close {
    background: none;
    border: none;
    color: #6c757d;
    font-size: 1rem;
    padding: 0.25rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.sidebar-close:hover {
    background: #f8f9fa;
    color: var(--vp-navy);
}

.sidebar-stats {
    margin-bottom: 1.5rem;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.8rem;
    color: #6c757d;
    font-weight: 500;
}

.stat-value {
    font-size: 0.85rem;
    color: var(--vp-navy);
    font-weight: 600;
    text-align: right;
}

.sidebar-actions .btn {
    font-size: 0.8rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 500;
}


/* Responsive adjustments */
@media (max-width: 768px) {
    .vessel-header {
        text-align: center;
        padding: 1.5rem 0;
    }
    
    .vessel-header .row > div {
        margin-bottom: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .vessel-section {
        padding: 2rem 0;
    }
    
    /* Hide sidebar on mobile */
    .vessel-sticky-sidebar {
        display: none;
    }
    
    /* Company Info Panel - Mobile Adjustments */
    .company-info-panel {
        position: relative !important;
        top: auto !important;
        margin-bottom: 2rem;
        max-height: none !important;
    }
    
    /* Fleet Analytics Section - Mobile Adjustments */
    .fleet-analytics-section .card-header {
        padding: 1rem 1.5rem;
    }
    
    .fleet-analytics-section .card-body {
        padding: 1.5rem;
    }
}

/* Vessel Particulars Styling */
.particulars-section {
    border-radius: 8px;
    padding: 1rem;
}

.section-title {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.spec-item {
    margin-bottom: 1.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.spec-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
    padding-bottom: 0.25rem;
}

.spec-value {
    font-size: 1rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.6;
    min-height: 2rem;
    padding-top: 0.25rem;
}

.spec-value.fw-bold {
    font-weight: 600;
    color: #0f172a;
}

/* Trading status badge styling */
.badge.bg-success { background-color: #22c55e !important; }
.badge.bg-warning { background-color: #f59e0b !important; }
.badge.bg-danger { background-color: #ef4444 !important; }
.badge.bg-secondary { background-color: #6b7280 !important; }

/* Vessel Particulars Table Styling - Complete Redesign */
.vessel-particulars-container {
    background: #ffffff;
    border-radius: 0.75rem;
    overflow: hidden;
}

.particulars-table {
    width: 100%;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 1rem 1.5rem;
    background: #f8fafc;
    border-bottom: 2px solid #e2e8f0;
}

.header-cell {
    font-size: 0.875rem;
    font-weight: 700;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.table-section {
    border-bottom: 1px solid #f1f5f9;
}

.table-section:last-child {
    border-bottom: none;
}

.section-title-row {
    padding: 1.25rem 1.5rem 0.75rem;
}

.section-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid #f8fafc;
    transition: background-color 0.15s ease;
}

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

.table-row:hover {
    background: #fafbfc;
}

.label-cell {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.025em;
    display: flex;
    align-items: center;
    text-align: left;
}

.value-cell {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    line-height: 1.4;
    display: flex;
    align-items: center;
}

.value-cell.fw-bold {
    font-weight: 700;
    color: #0f172a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .table-header {
        padding: 0.75rem 1rem;
    }

    .table-row {
        padding: 1rem;
        gap: 0.75rem;
    }

    .section-title-row {
        padding: 1rem;
    }

    .label-cell {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }

    .value-cell {
        font-size: 0.9rem;
    }
}

/* Flag emoji styling */
.flag-emoji {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* Copy button styling for particulars */
#copy-vessel-particulars {
    font-size: 0.8rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s ease;
}

#copy-vessel-particulars:hover {
    background-color: #6c757d;
    border-color: #6c757d;
    color: white;
    transform: translateY(-1px);
}

/* Responsive adjustments for particulars */
@media (max-width: 768px) {
    .particulars-section {
        padding: 0.75rem;
    }
    
    .section-title {
        font-size: 0.9rem;
    }
    
    .spec-label {
        font-size: 0.7rem;
    }
    
    .spec-value {
        font-size: 0.8rem;
    }
    
    /* Stack columns on mobile */
    .particulars-section .row .col-lg-6,
    .particulars-section .row .col-lg-3 {
        margin-bottom: 1rem;
    }
}
