/* style.css - Minimalistisk, Professionel Blå Stil (ala Pricerunner) */

/* 1. CSS Variabler: Dit "Theme Customizer" */
:root {
    /* Primære Brandfarver (Professionel Blå) */
    --primary-color: #007bff; /* Troværdig Blå */
    --secondary-color: #343a40; /* Mørk til knapper/hovedtekst */
    --background-color: #ffffff; /* Ren Hvid Baggrund */
    --success-color: #28a745; /* Standard Grøn til succes/pris */
    --font-family: 'Inter', sans-serif; /* Moderne skrifttype */
}

/* 2. Base Styling */
body {
    font-family: var(--font-family);
    background-color: var(--background-color);
    color: var(--secondary-color);
    text-align: center;
}

/* 3. Globale Elementer */
.text-primary { color: var(--primary-color) !important; }
.btn-primary { 
    background-color: var(--primary-color); 
    border-color: var(--primary-color);
    transition: all 0.2s;
}
.btn-primary:hover {
    background-color: #0056b3; /* Mørkere blå ved hover */
    border-color: #0056b3;
}
.nav-link.fw-bold { 
    color: var(--primary-color) !important; 
    border-bottom: 3px solid transparent; 
}
.nav-link.fw-bold:hover {
    border-bottom: 3px solid var(--primary-color); 
}

/* 4. Custom Styles (Kun for app.html) */
#preview img {
    margin-top: 1rem;
    border-radius: 6px;
    max-width: 240px;
    height: auto;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08); /* Lettere, diskret skygge */
}

#resultsContainer {
    margin-top: 2rem;
    display: none;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
    animation: fadeIn 0.6s ease-out forwards;
}
#descriptionCard, #alternatives {
    border-radius: 12px;
}

#dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
    background: var(--primary-color); /* Bruger den nye brandfarve */
    vertical-align: middle;
}

/* Loading Bar Styles */
#aiBarContainer {
    width: 240px;
    height: 6px;
    background: #e9ecef;
    border-radius: 10px;
    margin: 1.5rem auto 0.5rem;
    overflow: hidden;
    display: none;
}

#aiBar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6c757d, var(--primary-color));
    border-radius: 10px;
    transition: width 0.4s ease;
}

/* Alternativ Liste Styling */
#alternativeList .list-group-item {
    border: none;
    border-bottom: 1px solid #eee;
    padding: 1rem 0;
}
#alternativeList .list-group-item:last-child {
    border-bottom: none;
}
#alternativeList a:hover {
    color: var(--primary-color) !important;
}

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