/* ═══════════════════════════════════════════════════════════
   NAUTISPHERE - DISTRIBUTOR STOCK MANAGEMENT STYLES
   Design Moderne & Professionnel - Version 1.0
   ═══════════════════════════════════════════════════════════ */

:root {
    --stock-primary: #3b82f6;
    --stock-primary-dark: #2563eb;
    --stock-primary-light: #60a5fa;
    --stock-secondary: #8b5cf6;
    --stock-success: #10b981;
    --stock-warning: #f59e0b;
    --stock-danger: #ef4444;
    --stock-info: #06b6d4;
    --stock-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --stock-gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --stock-gradient-warning: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --stock-gradient-danger: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

/* ═══════════════════════════════════════════════════════════
   STOCK CONTAINER
   ═══════════════════════════════════════════════════════════ */

.dist-stock-section {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    min-height: 100%;
    padding: 0;
}

.dist-stock-content {
    padding: 24px;
    animation: stockFadeIn 0.4s ease-out;
}

@keyframes stockFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ═══════════════════════════════════════════════════════════
   STOCK HEADER
   ═══════════════════════════════════════════════════════════ */

.stock-header {
    background: var(--stock-gradient);
    border-radius: 20px;
    padding: 28px 32px;
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 0 40px rgba(59, 130, 246, 0.15);
}

.stock-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

/* ═══════════════════════════════════════════════════════════
   STATS CARDS
   ═══════════════════════════════════════════════════════════ */

.stock-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stock-stat-card {
    background: white;
    border-radius: 16px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stock-stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--stock-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.stock-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stock-stat-card:hover::before {
    transform: scaleX(1);
}

.stock-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stock-stat-icon.blue { background: rgba(59, 130, 246, 0.1); }
.stock-stat-icon.green { background: rgba(16, 185, 129, 0.1); }
.stock-stat-icon.amber { background: rgba(245, 158, 11, 0.1); }
.stock-stat-icon.purple { background: rgba(139, 92, 246, 0.1); }
.stock-stat-icon.red { background: rgba(239, 68, 68, 0.1); }
.stock-stat-icon.cyan { background: rgba(6, 182, 212, 0.1); }

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

.stock-stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1f2937;
    line-height: 1;
}

.stock-stat-label {
    font-size: 0.875rem;
    color: #6b7280;
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════════════
   INVENTORY TABLE
   ═══════════════════════════════════════════════════════════ */

.stock-table-container {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

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

.stock-table thead {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.stock-table th {
    padding: 14px 16px;
    text-align: left;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stock-table td {
    padding: 16px;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.stock-table tbody tr {
    transition: background-color 0.15s ease;
}

.stock-table tbody tr:hover {
    background: #f8fafc;
}

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

/* Boat cell */
.stock-boat-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stock-boat-image {
    width: 64px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
    background: #f3f4f6;
    flex-shrink: 0;
}

.stock-boat-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 4px;
}

.stock-boat-info p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

/* Status badges */
.stock-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.stock-status-badge.ordered {
    background: #fef3c7;
    color: #92400e;
}

.stock-status-badge.in_production {
    background: #dbeafe;
    color: #1e40af;
}

.stock-status-badge.quality_control {
    background: #e0e7ff;
    color: #3730a3;
}

.stock-status-badge.ready_to_ship {
    background: #d1fae5;
    color: #065f46;
}

.stock-status-badge.in_transit {
    background: #cffafe;
    color: #0e7490;
}

.stock-status-badge.in_port {
    background: #fce7f3;
    color: #9d174d;
}

.stock-status-badge.in_stock {
    background: #dcfce7;
    color: #166534;
}

.stock-status-badge.reserved {
    background: #fef9c3;
    color: #854d0e;
}

.stock-status-badge.sold {
    background: #e5e7eb;
    color: #374151;
}

.stock-status-badge.delivered {
    background: #f3e8ff;
    color: #6b21a8;
}

/* ═══════════════════════════════════════════════════════════
   PIPELINE / KANBAN VIEW
   ═══════════════════════════════════════════════════════════ */

.stock-pipeline {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 16px;
}

.pipeline-column {
    flex: 0 0 300px;
    min-width: 300px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
}

.pipeline-column-header {
    padding: 16px;
    background: white;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pipeline-column-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pipeline-column-count {
    width: 24px;
    height: 24px;
    background: #e5e7eb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
}

.pipeline-column-content {
    padding: 12px;
    min-height: 400px;
    max-height: 600px;
    overflow-y: auto;
}

.pipeline-card {
    background: white;
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 10px;
    border: 1px solid #e5e7eb;
    cursor: grab;
    transition: all 0.2s ease;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.pipeline-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-color: var(--stock-primary-light);
}

.pipeline-card.dragging {
    opacity: 0.5;
    transform: rotate(3deg);
}

.pipeline-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 10px;
}

.pipeline-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
}

.pipeline-card-brand {
    font-size: 0.75rem;
    color: #6b7280;
}

.pipeline-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 0.75rem;
    color: #6b7280;
}

.pipeline-card-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pipeline-card-footer {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.pipeline-card-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--stock-primary);
}

.pipeline-card-reserved {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: #fef9c3;
    color: #854d0e;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 4px;
}

/* ═══════════════════════════════════════════════════════════
   CALENDAR VIEW
   ═══════════════════════════════════════════════════════════ */

.stock-calendar {
    background: white;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.calendar-header {
    padding: 20px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.calendar-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.calendar-nav-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.calendar-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
}

.calendar-day-header {
    padding: 12px 8px;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.calendar-day {
    min-height: 120px;
    padding: 8px;
    border-right: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    background: white;
    transition: background-color 0.15s ease;
}

.calendar-day:nth-child(7n) {
    border-right: none;
}

.calendar-day:hover {
    background: #f8fafc;
}

.calendar-day.other-month {
    background: #fafafa;
}

.calendar-day.other-month .calendar-day-number {
    color: #d1d5db;
}

.calendar-day.today {
    background: #eff6ff;
}

.calendar-day.today .calendar-day-number {
    background: var(--stock-primary);
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-day-number {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.calendar-events {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.calendar-event {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    transition: transform 0.1s ease;
}

.calendar-event:hover {
    transform: scale(1.02);
}

.calendar-event.production { background: #dbeafe; color: #1e40af; }
.calendar-event.shipping { background: #cffafe; color: #0e7490; }
.calendar-event.arrival { background: #d1fae5; color: #065f46; }
.calendar-event.available { background: #dcfce7; color: #166534; }
.calendar-event.expiring { background: #fef3c7; color: #92400e; }

.calendar-event-more {
    font-size: 0.6875rem;
    color: #6b7280;
    padding: 4px 8px;
    cursor: pointer;
}

.calendar-event-more:hover {
    color: var(--stock-primary);
}

/* ═══════════════════════════════════════════════════════════
   RESERVATIONS
   ═══════════════════════════════════════════════════════════ */

.reservation-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    padding: 16px;
    margin-bottom: 12px;
    transition: all 0.2s ease;
}

.reservation-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.reservation-card.expiring-soon {
    border-color: #f59e0b;
    background: #fffbeb;
}

.reservation-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 12px;
}

.reservation-boat {
    display: flex;
    align-items: center;
    gap: 12px;
}

.reservation-boat-image {
    width: 56px;
    height: 42px;
    border-radius: 6px;
    object-fit: cover;
    background: #f3f4f6;
}

.reservation-boat-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 2px;
}

.reservation-boat-info p {
    font-size: 0.8125rem;
    color: #6b7280;
    margin: 0;
}

.reservation-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reservation-status.pending {
    background: #fef9c3;
    color: #854d0e;
}

.reservation-status.confirmed {
    background: #dcfce7;
    color: #166534;
}

.reservation-status.expired {
    background: #fecaca;
    color: #991b1b;
}

.reservation-status.cancelled {
    background: #e5e7eb;
    color: #374151;
}

.reservation-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 12px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}

.reservation-detail {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.reservation-detail-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.reservation-detail-value {
    font-size: 0.875rem;
    font-weight: 500;
    color: #1f2937;
}

.reservation-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
}

.reservation-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.reservation-btn.primary {
    background: var(--stock-primary);
    color: white;
    border: none;
}

.reservation-btn.primary:hover {
    background: var(--stock-primary-dark);
}

.reservation-btn.secondary {
    background: white;
    color: #374151;
    border: 1px solid #e5e7eb;
}

.reservation-btn.secondary:hover {
    background: #f3f4f6;
}

.reservation-btn.danger {
    background: white;
    color: #ef4444;
    border: 1px solid #fecaca;
}

.reservation-btn.danger:hover {
    background: #fef2f2;
}

/* ═══════════════════════════════════════════════════════════
   SHARING
   ═══════════════════════════════════════════════════════════ */

.share-card {
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.share-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.share-url-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-url-box code {
    flex: 1;
    font-size: 0.8125rem;
    color: #4b5563;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.share-permissions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.share-permission-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 500;
}

/* ═══════════════════════════════════════════════════════════
   MODALS
   ═══════════════════════════════════════════════════════════ */

.stock-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 50;
    animation: modalFadeIn 0.2s ease;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stock-modal-content {
    background: white;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.stock-modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stock-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
}

.stock-modal-close {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.stock-modal-close:hover {
    background: #f3f4f6;
}

.stock-modal-body {
    padding: 24px;
    overflow-y: auto;
    max-height: calc(90vh - 140px);
}

.stock-modal-footer {
    padding: 16px 24px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* ═══════════════════════════════════════════════════════════
   FORM ELEMENTS
   ═══════════════════════════════════════════════════════════ */

.stock-form-group {
    margin-bottom: 16px;
}

.stock-form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    margin-bottom: 6px;
}

.stock-form-input,
.stock-form-select,
.stock-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.9375rem;
    color: #1f2937;
    background: white;
    transition: all 0.15s ease;
}

.stock-form-input:focus,
.stock-form-select:focus,
.stock-form-textarea:focus {
    outline: none;
    border-color: var(--stock-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

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

/* ═══════════════════════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════════════════════ */

.stock-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
}

.stock-btn-primary {
    background: var(--stock-primary);
    color: white;
}

.stock-btn-primary:hover {
    background: var(--stock-primary-dark);
}

.stock-btn-secondary {
    background: white;
    color: #374151;
    border: 1px solid #d1d5db;
}

.stock-btn-secondary:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.stock-btn-success {
    background: var(--stock-success);
    color: white;
}

.stock-btn-success:hover {
    background: #059669;
}

.stock-btn-danger {
    background: var(--stock-danger);
    color: white;
}

.stock-btn-danger:hover {
    background: #dc2626;
}

.stock-btn-icon {
    padding: 8px;
    width: 36px;
    height: 36px;
    justify-content: center;
}

/* ═══════════════════════════════════════════════════════════
   PAGINATION
   ═══════════════════════════════════════════════════════════ */

.stock-pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 24px;
}

.stock-pagination-info {
    font-size: 0.875rem;
    color: #6b7280;
}

.stock-pagination-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pagination-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.15s ease;
}

.pagination-btn:hover:not(:disabled) {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-btn.active {
    background: var(--stock-primary);
    border-color: var(--stock-primary);
    color: white;
}

/* ═══════════════════════════════════════════════════════════
   LOADING STATES
   ═══════════════════════════════════════════════════════════ */

.stock-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
}

.stock-loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #e5e7eb;
    border-top-color: var(--stock-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.stock-loading-text {
    margin-top: 16px;
    font-size: 0.9375rem;
    color: #6b7280;
}

/* ═══════════════════════════════════════════════════════════
   EMPTY STATES
   ═══════════════════════════════════════════════════════════ */

.stock-empty {
    text-align: center;
    padding: 48px 24px;
}

.stock-empty-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    color: #d1d5db;
}

.stock-empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.stock-empty-description {
    font-size: 0.9375rem;
    color: #6b7280;
    margin-bottom: 24px;
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════ */

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

@media (max-width: 768px) {
    .dist-stock-content {
        padding: 16px;
    }

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

    .stock-table-container {
        overflow-x: auto;
    }

    .stock-table {
        min-width: 800px;
    }

    .pipeline-column {
        flex: 0 0 280px;
        min-width: 280px;
    }

    .calendar-day {
        min-height: 80px;
    }

    .reservation-details {
        grid-template-columns: 1fr;
    }

    .stock-modal-content {
        margin: 16px;
        max-width: calc(100vw - 32px);
    }
}

@media (max-width: 480px) {
    .stock-header {
        padding: 20px;
        border-radius: 16px;
    }

    .stock-stat-card {
        padding: 16px;
    }

    .calendar-day-header {
        font-size: 0.6875rem;
        padding: 8px 4px;
    }

    .reservation-actions {
        flex-direction: column;
    }

    .reservation-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   DARK MODE SUPPORT (optional)
   ═══════════════════════════════════════════════════════════ */

@media (prefers-color-scheme: dark) {
    .dark-mode .dist-stock-section {
        background: linear-gradient(180deg, #111827 0%, #0f172a 100%);
    }

    .dark-mode .stock-stat-card,
    .dark-mode .stock-table-container,
    .dark-mode .stock-calendar,
    .dark-mode .pipeline-card,
    .dark-mode .reservation-card,
    .dark-mode .share-card {
        background: #1f2937;
        border-color: #374151;
    }

    .dark-mode .stock-table th {
        background: #111827;
        color: #9ca3af;
    }

    .dark-mode .stock-table td {
        border-color: #374151;
    }

    .dark-mode .stock-boat-info h4,
    .dark-mode .stock-stat-value,
    .dark-mode .pipeline-card-title {
        color: #f3f4f6;
    }

    .dark-mode .stock-boat-info p,
    .dark-mode .stock-stat-label {
        color: #9ca3af;
    }
}
