/**
 * Skema-tabel (skema.html) — supplerer article.css
 */
body.portal-skema{--primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;
    --marathon-color: #9b59b6;
    --extra-day-color: #2ecc71;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.1);}

body.portal-skema,
body.portal-skema * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.portal-skema {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-bottom: 40px;
}

body.portal-skema header{background: linear-gradient(135deg, rgba(241, 196, 15, 0.8), rgba(230, 126, 34, 0.8));
			color: white;
			padding: 1.5rem 1rem;
			text-align: center;
			border-bottom: 5px solid var(--accent-color);
			margin-bottom: 1.5rem;}

body.portal-skema h1{font-size: 1.8rem;
    margin-bottom: 0.5rem;}

body.portal-skema h2{font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;}

body.portal-skema h3{font-size: 1.3rem;
    margin: 1rem 0;
    color: var(--primary-color);}

body.portal-skema h4{font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);}

body.portal-skema .subtitle{font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;}

body.portal-skema .container{max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;}

body.portal-skema .card{background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 1.25rem;
    transition: transform 0.3s ease;
    margin-bottom: 1.5rem;}

body.portal-skema .card:hover{transform: translateY(-5px);}

body.portal-skema .card h3{border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;}

body.portal-skema .card h3 i{margin-right: 10px;
    color: var(--accent-color);}

body.portal-skema .footer{text-align: center;
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid #ddd;
    color: #777;
    font-size: 0.9rem;}

body.portal-skema .intro-text{background-color: #e8f4fc;
    border-left: 4px solid var(--secondary-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;}

body.portal-skema .legend{display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #f9f9f9;
    border-radius: var(--border-radius);}

body.portal-skema .legend-item{display: flex;
    align-items: center;
    gap: 0.5rem;}

body.portal-skema .legend-color{width: 20px;
    height: 20px;
    border-radius: 4px;}

body.portal-skema .time-table-container{overflow-x: auto;
    margin: 2rem 0;}

body.portal-skema .time-table{width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
    box-shadow: var(--box-shadow);
    min-width: 800px;}

body.portal-skema .time-table th{background-color: var(--primary-color);
    color: white;
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    position: sticky;
    top: 0;}

body.portal-skema .time-table td{padding: 0.75rem;
    border-bottom: 1px solid #eee;
    text-align: center;}

body.portal-skema .time-table tr:nth-child(even){background-color: #f9f9f9;}

body.portal-skema .time-table tr:hover{background-color: #f1f7fd;}

body.portal-skema .distance-header{background-color: var(--secondary-color) !important;
    font-size: 1.1rem;}

body.portal-skema .time-cell{font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;}

body.portal-skema .tempo-cell{font-weight: 500;
    background-color: #f8f9fa;}

body.portal-skema .tempo-range{display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    background-color: #e8f4fc;
    font-weight: 600;
    color: var(--secondary-color);}

body.portal-skema .tempo-type-header{background-color: #f8f9fa;
    font-weight: 600;
    color: var(--primary-color);
    text-align: left !important;
    padding-left: 1rem !important;}

@media (max-width: 768px){.time-table th, .time-table td {
        padding: 0.5rem;
        font-size: 0.9rem;
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.3rem;
    }}

body.portal-skema .info-box{background-color: #fff9e6;
    border-left: 4px solid var(--warning-color);
    padding: 1rem;
    margin: 1.5rem 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;}

body.portal-skema .info-box h4{color: var(--warning-color);
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;}

body.portal-skema .info-box h4 i{margin-right: 8px;}

body.portal-skema .interactive-controls{display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 1.5rem 0;
    align-items: center;}

body.portal-skema .distance-filter{display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;}

body.portal-skema .filter-btn{padding: 8px 16px;
    background-color: var(--light-color);
    border: 2px solid #ddd;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;}

body.portal-skema .filter-btn:hover{background-color: #e0e0e0;}

body.portal-skema .filter-btn.active{background-color: var(--secondary-color);
    color: white;
    border-color: var(--secondary-color);}

body.portal-skema .tempo-highlight{animation: pulse 2s;}

@keyframes pulse{0% { background-color: inherit; }
    50% { background-color: #ffeaa7; }
    100% { background-color: inherit; }}

body.portal-skema /* Nye styles til program-knapper */
.program-buttons{display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 2rem 0 1rem 0;}

body.portal-skema .program-btn{display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
    border: none;
    cursor: pointer;
    min-width: 200px;}

body.portal-skema .program-btn i{font-size: 1.3rem;}

body.portal-skema .program-btn:hover{transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);}

body.portal-skema .btn-5k{background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;}

body.portal-skema .btn-10k{background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;}

body.portal-skema .btn-half{background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;}

body.portal-skema .btn-marathon{background: linear-gradient(135deg, #9b59b6, #8e44ad);
    color: white;}

body.portal-skema .program-section{text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);}

body.portal-skema .program-section h3{margin-bottom: 1rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    display: inline-block;}

body.portal-skema .program-description{margin-bottom: 1.5rem;
    color: #666;}

@media (max-width: 768px){.program-btn {
        min-width: 100%;
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }}
