/*static/css/style.css*/
/* --- Portfolio Navigator 2.0 - Refined Theme --- */

:root {
    --body-bg: #F8F7F2; /* Professional parchment/off-white */
    --panel-bg: #ffffff;
    --text-color: #2d3748; /* Dark slate gray for text */
    --text-light: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --accent-color: #4A6980; /* Sophisticated slate blue */
    --accent-hover: #3B566A; /* Darker slate blue for hover */
    --success-color: #38A169; /* A slightly softer green */
    --error-color: #E53E3E;
    --warning-color: #DD6B20;
    --shadow-sm: 0 1px 3px 0 rgba(45, 55, 72, 0.07), 0 1px 2px 0 rgba(45, 55, 72, 0.04);
    --shadow-md: 0 4px 6px -1px rgba(45, 55, 72, 0.08), 0 2px 4px -1px rgba(45, 55, 72, 0.05);
    --shadow-lg: 0 10px 15px -3px rgba(45, 55, 72, 0.08), 0 4px 6px -2px rgba(45, 55, 72, 0.04);
    --shadow-xl: 0 20px 25px -5px rgba(45, 55, 72, 0.1), 0 10px 10px -5px rgba(45, 55, 72, 0.03);
}

* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--body-bg);
    color: var(--text-color);
    min-height: 100vh;
    line-height: 1.6;
}

.container { 
    max-width: 1400px; 
    margin: 0 auto; 
    padding: 2rem; 
}

.hidden { 
    display: none !important; 
}

/* Header */
.page-header {
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: none;
}

.page-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-light);
}

/* Enhanced Filter Controls */
.filter-panel {
    background: var(--panel-bg);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.filter-section {
    margin-bottom: 2rem;
}

.filter-section:last-child {
    margin-bottom: 0;
}

.filter-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.filter-group {
    position: relative;
}

.filter-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    position: relative;
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 105, 128, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    z-index: 1;
}

/* Multi-select dropdown */
.multi-select {
    position: relative;
    width: 100%;
}

.multi-select-button {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: #f8fafc;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
    text-align: left;
}

.multi-select-button:hover,
.multi-select-button.active {
    border-color: var(--accent-color);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 105, 128, 0.1);
}

.multi-select-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    max-height: 250px;
    overflow-y: auto;
    margin-top: 0.25rem;
}

.multi-select-option {
    padding: 0.75rem 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f1f5f9;
}

.multi-select-option:last-child {
    border-bottom: none;
}

.multi-select-option:hover {
    background-color: #f8fafc;
}

.multi-select-option.selected {
    background-color: rgba(74, 105, 128, 0.1);
    color: var(--accent-color);
    font-weight: 500;
}

.multi-select-option input[type="checkbox"] {
    margin: 0;
    width: 16px;
    height: 16px;
    accent-color: var(--accent-color);
}

.multi-select-option label {
    margin: 0;
    cursor: pointer;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.multi-select-option .option-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: auto;
    padding-left: 1rem;
}

.multi-select-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #f8fafc;
}

.multi-select-option.disabled label {
    cursor: not-allowed;
}

.selected-count {
    background: var(--accent-color);
    color: white;
    border-radius: 12px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* Certification filters */
.cert-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.cert-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 24px;
    background: #f8fafc;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    user-select: none;
}

.cert-toggle:hover {
    border-color: var(--accent-color);
    background: white;
}

.cert-toggle.active {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.cert-toggle input[type="checkbox"] {
    display: none;
}

.cert-toggle .cert-count {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 0.5rem;
    font-weight: 400;
}

.cert-toggle.active .cert-count {
    color: rgba(255, 255, 255, 0.8);
}

.cert-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

/* Control buttons */
.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    /*border-top: 1px solid var(--border-color);*/
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* Results section */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--panel-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.results-count {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
}

.controls-container {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.sort-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sort-control label {
    font-weight: 500;
    color: var(--text-light);
}

.sort-control select {
    padding: 0.5rem 1rem;
    border-radius: 12px;
    border: 2px solid var(--border-color);
    background-color: #f8fafc;
    font-weight: 500;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-control select:focus {
    outline: none;
    border-color: var(--accent-color);
}

.view-toggle {
    display: flex;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 0.25rem;
}

.view-toggle button {
    padding: 0.5rem 1rem;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.view-toggle button.active {
    background: white;
    color: var(--accent-color);
    box-shadow: var(--shadow-sm);
}

/* Product Grid & List Views */
#product-grid.grid-view {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

#product-grid.list-view {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.product-list-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    padding: 1.5rem;
    background: var(--panel-bg);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.product-list-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent-color);
}

.list-item-image-wrapper {
    flex-shrink: 0;
    width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.list-item-image {
    width: 40px;
    height: 120px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.list-item-core-info {
    flex-grow: 1;
}

.list-item-core-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.list-item-core-info .producer {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.list-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.list-item-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.list-item-secondary-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
    flex-shrink: 0;
    min-width: 120px;
}

.list-item-stock {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.list-item-certs {
    display: flex;
    gap: 0.75rem;
    font-size: 1.2rem;
    justify-content: flex-end;
}

.cert-icon.organic { color: var(--success-color); }
.cert-icon.sustainable { color: var(--warning-color); }
.cert-icon.ethical { color: var(--accent-color); }

.list-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
    min-width: 100px;
    text-align: right;
    flex-shrink: 0;
}

.product-card {
    background: var(--panel-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    border: 1px solid var(--border-color);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.product-card:hover::before {
    opacity: 1;
}

.product-card-body {
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    flex: 1;
}

.product-card-image {
    width: 50px;
    height: 150px;
    object-fit: contain;
    flex-shrink: 0;
    
    /* --- IMAGE FIX --- */
    /* Removed background and padding to let the image blend */
    background: none;
    padding: 0;
    /* This blend mode makes the light grey background of the bottle images disappear against the white card */
    mix-blend-mode: multiply;
}

.product-card-info {
    flex: 1;
}

.product-card-info h3 {
    font-size: 1.3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text-color);
}

.product-card-info .producer {
    font-size: 1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    font-weight: 500;
}

.launch-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

.product-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}

.meta-item {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
    background: rgba(74, 105, 128, 0.1);
    color: var(--accent-color);
    border-radius: 20px;
    font-weight: 500;
}

.product-card-footer {
    padding: 1.5rem 2rem;
    border-top: 1px solid var(--border-color);
    background: linear-gradient(135deg, #fdfdff, #f8fafc);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certification-badges {
    display: flex;
    gap: 0.5rem;
}

.cert-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
    color: white;
    position: relative;
}

.cert-badge.organic {
    background: var(--success-color);
}

.cert-badge.sustainable {
    background: var(--warning-color);
}

.cert-badge.ethical {
    background: var(--accent-color);
}

.cert-badge::after {
    content: attr(title);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cert-badge:hover::after {
    opacity: 1;
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
    background: var(--accent-color);
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 4rem;
    grid-column: 1 / -1;
    background: var(--panel-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.empty-state p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

/* Product Detail View */
.breadcrumbs {
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--text-light);
    cursor: pointer;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.breadcrumbs a:hover {
    color: var(--accent-color);
}

.breadcrumbs span {
    margin: 0 0.75rem;
    opacity: 0.6;
}

.product-hero {
    background: var(--panel-bg);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-xl);
    display: flex;
    gap: 4rem;
    align-items: center;
}

.product-hero-image img {
    max-height: 500px;
    border-radius: 16px;
    /* --- IMAGE FIX --- */
    /* This blend mode makes the light grey background of the bottle images disappear against the white card */
    mix-blend-mode: multiply;
}

.product-hero-info h1 {
    font-size: 3rem;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
    background: linear-gradient(135deg, var(--accent-color), var(--text-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.product-hero-info h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-light);
    margin: 0 0 2rem 0;
}

.hero-meta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    border-top: 2px solid var(--border-color);
    padding-top: 2rem;
}

.hero-meta-item .label {
    color: var(--text-light);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.25rem;
}

.hero-meta-item .value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.widget {
    background: var(--panel-bg);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.widget:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.widget h3 {
    margin: 0 0 1.5rem 0;
    border-bottom: 2px solid var(--border-color);
    padding-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

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

.info-list-item .label {
    color: var(--text-light);
    font-weight: 500;
}

.info-list-item .value {
    font-weight: 600;
    text-align: right;
    color: var(--text-color);
}

.info-grid {
    display: grid;
    gap: 1rem;
}

.cert-badge-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    border-left: 4px solid transparent;
}

.cert-badge-detail.positive {
    border-left-color: var(--success-color);
    background: rgba(56, 161, 105, 0.1);
}

.cert-badge-detail.negative {
    border-left-color: var(--text-muted);
}

.cert-badge-detail i {
    font-size: 1.5rem;
}

.cert-badge-detail.positive i {
    color: var(--success-color);
}

.cert-badge-detail.negative i {
    color: var(--text-muted);
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(74, 105, 128, 0.3);
    border-radius: 50%;
    border-top-color: var(--accent-color);
    animation: spin 1s ease-in-out infinite;
}

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

/* Smooth transitions */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Responsive design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }

    .page-title {
        font-size: 2rem;
    }

    .filter-grid {
        grid-template-columns: 1fr;
    }

    .product-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        padding: 2rem;
    }

    .product-hero-info h1 {
        font-size: 2rem;
    }

    .hero-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .detail-grid {
        grid-template-columns: 1fr;
    }

    .cert-filters {
        justify-content: center;
    }

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

    .results-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    #product-grid.grid-view {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.5rem;
    }

    .page-subtitle {
        font-size: 1rem;
    }

    .filter-panel {
        padding: 1rem;
    }

    .product-card-body {
        padding: 1.5rem;
        gap: 1rem;
    }

    .product-card-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .cert-filters {
        flex-direction: column;
        align-items: stretch;
    }

    /* --- STILAR FÖR LAGERSTATUS-INDIKATOR I ÖVERSIKTEN --- */
    .stock-status {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.25rem 0.6rem;
        border-radius: 999px; /* Pill shape */
        font-size: 0.75rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .stock-status.in-stock {
        background-color: #e6f7ec; /* Ljusgrön */
        color: #0d6b33;
    }

    .stock-status.out-of-stock {
        background-color: #f3f4f6; /* Ljusgrå */
        color: #6b7280;
    }

    /* Anpassningar för list-vyn */
    .product-list-item {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .list-item-core-info {
        width: 100%;
        order: 1;
    }

    .list-item-image-wrapper {
        order: 2;
    }

    .list-item-secondary-info {
        order: 4;
        flex-direction: row;
        align-items: center;
        gap: 1.5rem;
    }

    .list-item-price {
        order: 3;
        margin-left: auto;
    }


    /* --- STILAR FÖR LAGERSALDO-WIDGET I DETALJVYN --- */
    .stock-list {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .stock-list-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        background-color: #f9fafb;
    }

    .store-info {
        display: flex;
        flex-direction: column;
    }

    .store-name {
        font-weight: 600;
        color: #111827;
    }

    .store-city {
        font-size: 0.875rem;
        color: #6b7280;
    }

    .stock-count-badge {
        padding: 0.25rem 0.75rem;
        background-color: #10b981; /* Grön */
        color: white;
        font-weight: 600;
        font-size: 0.8rem;
        border-radius: 999px;
    }

    /* Stil för "lilla" empty state i widgets */
    .empty-state.small {
        padding: 1rem 0;
        text-align: left;
    }

    .empty-state.small p {
        margin: 0;
        color: #6b7280;
    }
}

/* --- NYA STILAR FÖR LAGERSALDO-WIDGET & MODAL --- */

.stock-summary-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.stock-summary-container p {
    margin: 0;
    font-size: 1rem;
    color: var(--text-light);
}

.btn.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(45, 55, 72, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--panel-bg);
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideInUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.3s ease;
    line-height: 1;
}

.modal-close-btn:hover {
    color: var(--text-color);
}

.modal-body {
    padding: 2rem;
    overflow-y: auto;
}

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