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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f5f5;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 ;
    padding: 20px;
}

header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.grey1 { background-color: #ffffff; }
.grey2 { background-color: #f4f4f8; }

header h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

header p {
    color: #7f8c8d;
}

.search-sections {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.search-section {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.search-section h2 {
    margin-bottom: 20px;
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 10px;
}

/* Add to styles.css */
.search-row {
    display: flex;
    gap: 2rem; /* space between sections */
}
.search-row .search-section {
    flex: 1;
}

.search-sections {
    width: 100%;
  display: flex;
  flex-direction: row;
  gap: 2rem;
}

.search-section {
    flex: 1;
}


.search-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 5px;
    color: #555;
}

.form-group input,
.form-group select {
    padding: 10px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    margin-bottom: 0;
    cursor: pointer;
}

.checkbox-group input {
    margin-right: 8px;
    width: auto;
}

.btn-primary {
    background: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

.btn-primary:hover {
    background: #2980b9;
}

.results-section {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 100px;
    padding: 25px;
}

.loading {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px;
}

.error {
    background: #e74c3c;
    color: white;
    padding: 15px;
    border-radius: 5px;
    text-align: center;
}

.no-results {
    text-align: center;
    color: #7f8c8d;
    padding: 40px;
}

.results-container h3 {
    margin-bottom: 20px;
    color: #2c3e50;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px;
    transition: transform 0.2s ease;
}

.feature-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-item.idag {
    border-color: #27ae60;
    background: #eafaf1;
}

.feature-item.fremhev {
    border-color: #f39c12;
    background: #fef9e7;
}

.feature-item.fremhevidag {
    border-color: #8e44ad;
    background: #f4ecf7;
}

.feature-item.forrige {
    border-color: #3498db;
    background: #ebf3fd;
}

.feature-item.imorgen {
    border-color: #e67e22;
    background: #fdf2e9;
}

.feature-item.gammalt {
    border-color: #95a5a6;
    background: #f8f9fa;
}

.feature-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 16px;
}

.fremhev-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.fremhev-badge.idag {
    background: #27ae60;
    color: white;
}

.fremhev-badge.fremhev {
    background: #f39c12;
    color: white;
}

.fremhev-badge.fremhevidag {
    background: #8e44ad;
    color: white;
}

.fremhev-badge.forrige {
    background: #3498db;
    color: white;
}

.fremhev-badge.imorgen {
    background: #e67e22;
    color: white;
}

.fremhev-badge.gammalt {
    background: #95a5a6;
    color: white;
}

.feature-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 8px;
    font-size: 14px;
    color: #555;
}

.results-table-wrapper {
    padding: 16px 0;
    width: 100%;
}

.results-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    background: white;
}

.results-table th,
.results-table td {
    border: 1px solid #e0e0e0;
    padding: 16px;
    padding-left: 20px;
}

.results-table th {
    background: #f5f5f5;
    font-weight: 600;
}

body {
    font-size: 13px;
}


header {
    margin-bottom: 16px;
    padding: 10px;
}

header h1 {
    font-size: 1.1em;
    margin-bottom: 6px;
}

header p {
    font-size: 0.95em;
}

.search-sections {
    gap: 12px;
    margin-bottom: 12px;
}

.search-section {
    padding: 10px;
}

.search-section h2 {
    font-size: 1em;
    margin-bottom: 8px;
    padding-bottom: 4px;
}

.search-form {
    gap: 8px;
}

.form-row {
    gap: 8px;
}

.form-group label {
    font-size: 0.9em;
    margin-bottom: 3px;
}

.form-group input,
.form-group select {
    font-size: 12px;
    padding: 6px;
}

.btn-primary {
    padding: 8px 16px;
    font-size: 0.9em;
    margin-top: 6px;
}

.results-section {
    padding: 8px;
    margin-bottom: 6px;
    min-height: 60px;
}

.loading,
.no-results {
    padding: 8px;
    font-size: 0.95em;
}

.results-container h3 {
    margin-bottom: 8px;
    font-size: 1em;
}

.features-list {
    gap: 8px;
}

.feature-item {
    padding: 8px;
}

.feature-header {
    margin-bottom: 4px;
    font-size: 0.95em;
}

.fremhev-badge {
    padding: 2px 5px;
    font-size: 10px;
}

.feature-details {
    gap: 4px;
    font-size: 12px;
}

@media (max-width: 768px) {
    .search-sections {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

    .feature-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
