/**
 * MIN SIDE - KONSOLIDERT CSS
 * ===========================
 * Kombinert fra: min-side-moderne.css + min-side-shortcode.css
 * 
 * MOBIL-stiler er i min-side-mobile.css (lastes separat)
 * Denne filen inneholder KUN desktop-stiler
 */

/* =============================================================================
   1. HOVEDCONTAINER OG LAYOUT
   ============================================================================= */

.anbud-min-side,
.anbud-min-side-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    box-sizing: border-box;
}

.anbud-min-side-wrapper {
    width: 100%;
    max-width: 100%;
}

/* =============================================================================
   2. PAGE HEADER / VELKOMMEN-SEKSJON
   ============================================================================= */

.anbud-page-header,
.velkommen-seksjon {
    text-align: left;
    margin-bottom: 24px;
    padding: 28px 32px;
    background: var(--ved-white);
    border-radius: var(--radius-lg);
    color: var(--ved-gray-800);
    border: 1px solid var(--ved-gray-100);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.anbud-min-side-header {
    background: var(--ved-white);
    border-bottom: 1px solid var(--ved-gray-100);
    padding: 24px 32px;
    margin-bottom: 24px;
}

.velkommen-ikon {
    display: none;
}

.anbud-page-header h1,
.velkommen-seksjon h1,
.anbud-min-side-header h1 {
    margin: 0 0 6px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--ved-gray-800);
    hyphens: none;
    word-break: normal;
    overflow-wrap: normal;
}

.velkommen-beskrivelse {
    margin: 0 0 12px;
    font-size: 0.95rem;
    color: var(--ved-gray-500);
}

.velkommen-status {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: var(--ved-gray-50);
    color: var(--ved-gray-600);
    border: 1px solid var(--ved-gray-200);
}

.status-badge.status-pro {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    color: #166534;
    border-color: #86efac;
}

.status-badge.status-plus {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    color: #92400e;
    border-color: #fcd34d;
}

.status-badge.status-selger {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    color: var(--ved-primary-dark);
    border-color: #a7f3d0;
}

.status-badge.status-admin {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    color: #1e40af;
    border-color: #93c5fd;
}

.siste-innlogging {
    font-size: 0.8rem;
    color: var(--ved-gray-400);
    display: flex;
    align-items: center;
    gap: 5px;
}

.anbud-page-header p {
    margin: 0;
    font-size: 1rem;
    color: var(--ved-gray-500);
}

/* Desktop layout styres av mobile-master.css med body.seksjon-aktiv */
@media (min-width: 769px) {
    .anbud-min-side-wrapper {
        max-width: 1100px;
        margin: 0 auto;
    }

    .anbud-min-side-header {
        border-radius: var(--radius-lg);
        border: 1px solid var(--ved-gray-100);
        margin-bottom: 24px;
    }
}

/* =============================================================================
   3. TAB-NAVIGASJON
   ============================================================================= */

.anbud-tabs {
    margin-bottom: 40px;
}

.anbud-tab-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.anbud-tab-item {
    flex: 0 0 auto;
}

.anbud-tab-item a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 18px 25px;
    text-decoration: none;
    color: #666;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.anbud-tab-item a:hover {
    color: #2C5F2D;
    background: rgba(44, 95, 45, 0.05);
}

.anbud-tab-item.active a {
    color: #2C5F2D;
    font-weight: 600;
}

.anbud-tab-item.active a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 3px;
    background: #2C5F2D;
    border-radius: 3px 3px 0 0;
}

.anbud-tab-item .badge {
    background: #2C5F2D;
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 5px;
}

/* Tab content */
.anbud-tab-content {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.anbud-tab-panel {
    display: none;
}

.anbud-tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =============================================================================
   4. STATISTIKK-KORT
   ============================================================================= */

.anbud-oversikt h2 {
    color: #333;
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.anbud-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.anbud-stat-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.anbud-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #2C5F2D;
}

.anbud-stat-card .stat-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.anbud-stat-card h3 {
    font-size: 2.5rem;
    color: #2C5F2D;
    margin: 0 0 10px;
    font-weight: 700;
}

.anbud-stat-card p {
    color: #666;
    margin: 0;
    font-size: 1rem;
}

/* =============================================================================
   5. ANBUD-LISTER OG KORT
   ============================================================================= */

.anbud-liste {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.anbud-item {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.anbud-item:hover {
    border-color: #2C5F2D;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.anbud-item h4 {
    margin: 0 0 15px;
    font-size: 1.3rem;
}

.anbud-item h4 a {
    color: #333;
    text-decoration: none;
}

.anbud-item h4 a:hover {
    color: #2C5F2D;
}

.anbud-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.anbud-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.anbud-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Grid for kort */
.anbud-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

/* Moderne kort */
.anbud-kort-moderne {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
}

.anbud-kort-moderne:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.anbud-kort-header {
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.anbud-kort-tittel {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.anbud-kort-tittel h3 {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
    line-height: 1.4;
}

.anbud-kort-tittel a {
    color: inherit;
    text-decoration: none;
}

.anbud-kort-tittel a:hover {
    color: #2C5F2D;
}

/* Status badges */
.anbud-status-banner {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
}

.anbud-status-aktiv { background: #d4edda; color: #155724; }
.anbud-status-utlopt { background: #f8d7da; color: #721c24; }
.anbud-status-kladd { background: #e2e3e5; color: #383d41; }
.anbud-status-akseptert { background: #cce5ff; color: #004085; }

/* Kort metadata */
.anbud-kort-meta {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
    background: #f8f9fa;
}

.anbud-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.anbud-meta-item i {
    color: #2C5F2D;
    font-size: 1.1rem;
}

/* Kort handlinger */
.anbud-kort-handlinger {
    padding: 20px;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    align-items: center;
}

.anbud-handlinger-venstre {
    display: flex;
    gap: 10px;
}

/* =============================================================================
   6. KNAPPER
   ============================================================================= */

.anbud-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.anbud-btn-primary { background: #2C5F2D; color: white; }
.anbud-btn-primary:hover { background: #1e4520; }

.anbud-btn-secondary { background: #6c757d; color: white; }
.anbud-btn-secondary:hover { background: #5a6268; }

.anbud-btn-success { background: #28a745; color: white; }
.anbud-btn-success:hover { background: #218838; }

.anbud-btn-sm { padding: 6px 12px; font-size: 0.85rem; }
.anbud-btn-lg { padding: 14px 28px; font-size: 1.1rem; }

/* =============================================================================
   7. PROFIL-SEKSJONEN
   ============================================================================= */

.anbud-profil-moderne {
    max-width: 800px;
    margin: 0 auto;
}

.anbud-profil-header {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.anbud-profil-avatar-wrapper {
    position: relative;
    display: inline-block;
}

.anbud-profil-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2C5F2D;
    object-fit: cover;
}

.anbud-profil-avatar img.custom-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #2C5F2D;
    object-fit: cover;
}

/* Firmalogo kan ha avrundede hjørner i stedet for helt rund */
.anbud-profil-avatar img.custom-avatar.firmalogo {
    border-radius: 16px;
    object-fit: contain;
    background: #fff;
}

.anbud-endre-bilde-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #2C5F2D;
    border: 3px solid #fff;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.anbud-endre-bilde-btn:hover {
    background: #1e4620;
    transform: scale(1.1);
}

.anbud-endre-bilde-btn i {
    font-size: 14px;
    line-height: 1;
}

.profilbilde-laster {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.anbud-profil-info h2 {
    margin: 0 0 10px;
    color: #333;
}

.anbud-brukertype {
    margin: 10px 0;
}

.anbud-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.anbud-badge-selger { background: #d4edda; color: #155724; }
.anbud-badge-kjoper { background: #cce5ff; color: #004085; }

.anbud-medlem-siden {
    color: #666;
    font-size: 0.9rem;
}

/* =============================================================================
   8. SKJEMAER
   ============================================================================= */

.anbud-profil-form {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.anbud-profil-form h3 {
    color: #333;
    margin: 30px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f0f0f0;
}

.anbud-profil-form h3:first-child {
    margin-top: 0;
}

.anbud-form-rad {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.anbud-form-gruppe {
    margin-bottom: 20px;
}

.anbud-form-gruppe label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

.anbud-form-gruppe input,
.anbud-form-gruppe select,
.anbud-form-gruppe textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.anbud-form-gruppe input:focus,
.anbud-form-gruppe select:focus,
.anbud-form-gruppe textarea:focus {
    outline: none;
    border-color: #2C5F2D;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

.anbud-form-handlinger {
    margin-top: 30px;
    text-align: center;
}

/* =============================================================================
   9. MELDINGER OG VARSLER
   ============================================================================= */

.anbud-melding {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.anbud-melding.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.anbud-melding.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Toast varsler */
.vedbod-toast-container {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vedbod-toast {
    padding: 15px 45px 15px 20px;
    border-radius: 8px;
    color: white;
    font-weight: 500;
    min-width: 300px;
    max-width: 400px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
    animation: slideIn 0.3s ease;
    position: relative;
}

.vedbod-toast.success { background: #2C5F2D; }
.vedbod-toast.error { background: #dc3545; }
.vedbod-toast.warning { background: #ffc107; color: #333; }
.vedbod-toast.info { background: #17a2b8; }

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* =============================================================================
   10. FILTER OG SØK
   ============================================================================= */

.anbud-filter-panel {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.anbud-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.anbud-filter-toggle {
    background: #2C5F2D;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.anbud-filter-toggle:hover {
    background: #1e4520;
}

.anbud-filter-innhold {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.anbud-filter-gruppe label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #555;
}

.anbud-filter-gruppe select,
.anbud-filter-gruppe input {
    width: 100%;
    padding: 10px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.anbud-filter-gruppe select:focus,
.anbud-filter-gruppe input:focus {
    outline: none;
    border-color: #2C5F2D;
    box-shadow: 0 0 0 3px rgba(44, 95, 45, 0.1);
}

/* =============================================================================
   11. TOM TILSTAND
   ============================================================================= */

.anbud-ingen-anbud,
.anbud-tom-state {
    text-align: center;
    padding: 80px 20px;
}

.anbud-tom-ikon {
    font-size: 5rem;
    color: #dee2e6;
    margin-bottom: 20px;
}

.anbud-ingen-anbud h3 {
    color: #666;
    margin-bottom: 15px;
}

.anbud-ingen-anbud p {
    color: #555;
    margin-bottom: 30px;
}

/* =============================================================================
   12. SEKSJONSKORT (Brukt på Min Side oversikt)
   ============================================================================= */

/* Seksjonskort desktop - styles fra mobile-master.css er primaere */

/* =============================================================================
   13. DROPDOWN MENYER
   ============================================================================= */

.anbud-dropdown {
    position: relative;
}

.anbud-dropdown-toggle {
    background: #f8f9fa;
    color: #666;
    border: 1px solid #dee2e6;
}

.anbud-dropdown-toggle:hover {
    background: #e9ecef;
}

.anbud-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 180px;
    display: none;
    z-index: 1000;
}

.anbud-dropdown.open .anbud-dropdown-menu {
    display: block;
}

.anbud-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
}

.anbud-dropdown-item:hover {
    background: #f8f9fa;
    color: #2C5F2D;
}

.anbud-dropdown-item.text-danger {
    color: #dc3545;
}

.anbud-dropdown-item.text-danger:hover {
    background: #f8d7da;
}

/* =============================================================================
   14. ANIMASJONER
   ============================================================================= */

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.anbud-ny-badge {
    background: #ff4757;
    color: white;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 10px;
    font-weight: 600;
    animation: pulse 2s infinite;
}

/* =============================================================================
   15. LAZY-RENDERING FOR SEKSJONSPANELER
   ============================================================================= */

/**
 * YTELSESOPTIMALISERING:
 * Kun aktive seksjoner rendres og vises.
 * Inaktive seksjoner skjules fullstendig for å spare ressurser.
 */

/* Seksjonsinnhold-wrapper er skjult som standard - scopet til Min Side */
.anbud-min-side-wrapper .anbud-seksjon-innhold,
.anbud-min-side-container .anbud-seksjon-innhold {
    display: none;
}

/* Vis wrapper når noe inne er aktivt */
.anbud-min-side-wrapper .anbud-seksjon-innhold:has(.anbud-seksjon-panel.aktiv),
.anbud-min-side-container .anbud-seksjon-innhold:has(.anbud-seksjon-panel.aktiv) {
    display: block;
}

/* Fallback for nettlesere uten :has() støtte */
body.seksjon-aktiv .anbud-min-side-wrapper .anbud-seksjon-innhold,
body.seksjon-aktiv .anbud-min-side-container .anbud-seksjon-innhold {
    display: block;
}

/* Alle seksjonspaneler: skjult som standard - KUN inne i Min Side */
.anbud-min-side-wrapper .anbud-seksjon-panel,
.anbud-min-side-container .anbud-seksjon-panel {
    display: none;
    visibility: hidden;
}

/* KUN aktiv seksjon vises */
.anbud-min-side-wrapper .anbud-seksjon-panel.aktiv,
.anbud-min-side-container .anbud-seksjon-panel.aktiv {
    display: block;
    visibility: visible;
}

/* Underfaner i seksjoner - KUN inne i Min Side */
.anbud-min-side-wrapper .seksjon-tab,
.anbud-min-side-wrapper .tab-content-kompakt,
.anbud-min-side-wrapper .anbud-bud-tab-content,
.anbud-min-side-container .seksjon-tab,
.anbud-min-side-container .tab-content-kompakt,
.anbud-min-side-container .anbud-bud-tab-content {
    display: none;
    visibility: hidden;
}

.anbud-min-side-wrapper .seksjon-tab.aktiv,
.anbud-min-side-wrapper .tab-content-kompakt.aktiv,
.anbud-min-side-wrapper .anbud-bud-tab-content.active,
.anbud-min-side-container .seksjon-tab.aktiv,
.anbud-min-side-container .tab-content-kompakt.aktiv,
.anbud-min-side-container .anbud-bud-tab-content.active {
    display: block;
    visibility: visible;
}

/* =============================================================================
   16. UNDERFANER (TABS INNE I SEKSJONER)
   ============================================================================= */

.seksjon-underfaner {
    display: flex;
    gap: 8px;
    padding: 6px;
    background: #f5f5f5;
    border-radius: 12px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.underfane-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    background: transparent;
    color: #666;
    white-space: nowrap;
    min-height: 44px;
}

.underfane-btn:hover {
    background: rgba(44, 95, 45, 0.1);
    color: #2C5F2D;
}

.underfane-btn.aktiv,
.underfane-btn.active {
    background: linear-gradient(135deg, #2C5F2D 0%, #3d7344 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(44, 95, 45, 0.25);
}

.underfane-btn.aktiv:hover,
.underfane-btn.active:hover {
    background: linear-gradient(135deg, #1e4520 0%, #2C5F2D 100%);
    color: white;
}

/* Badge i underfane */
.underfane-btn .badge,
.underfane-btn .count {
    background: rgba(255, 255, 255, 0.3);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.underfane-btn.aktiv .badge,
.underfane-btn.aktiv .count,
.underfane-btn.active .badge,
.underfane-btn.active .count {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

/* Underfane innhold */
.underfane-innhold,
.underfane-content {
    display: none;
}

.underfane-innhold.aktiv,
.underfane-innhold.active,
.underfane-content.aktiv,
.underfane-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

/* =============================================================================
   17. TILBAKE-KNAPP (Tilbake til oversikt)
   ============================================================================= */

.tilbake-oversikt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.25s ease;
    text-decoration: none;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.tilbake-oversikt-btn:hover {
    background: linear-gradient(135deg, #2C5F2D 0%, #3d7344 100%);
    border-color: #2C5F2D;
    color: white;
    transform: translateX(-4px);
    box-shadow: 0 4px 16px rgba(44, 95, 45, 0.25);
}

.tilbake-oversikt-btn:active {
    transform: translateX(-2px) scale(0.98);
}

/* Pil-ikon animasjon */
.tilbake-oversikt-btn::before {
    content: '';
    display: inline-block;
    transition: transform 0.25s ease;
}

.tilbake-oversikt-btn:hover::before {
    transform: translateX(-4px);
}

/* =============================================================================
   MERK: Mobil-stiler er i min-side-mobile.css / mobile-pages.css
   ============================================================================= */
