/* Grundlæggende layout */
body { 
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
    line-height: 1.6; 
    max-width: 800px; 
    margin: 20px auto; 
    padding: 20px; 
    background-color: #f0f2f5; 
}
blockquote {
    background: #fff;               /* Hvid baggrund */
    border-left: 5px solid #2c3e50; /* Mørkeblå/grå stribe til venstre */
    margin: 1.5em 0;                /* Luft over og under */
    padding: 15px 25px;             /* Luft inde i boksen */
    color: #2c3e50;                 /* Mørk tekstfarve (ikke lysegrå) */
    font-style: normal;             /* Fjern kursiv hvis temaet har det */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* En lille skygge ligesom dine cards */
    border-radius: 0 8px 8px 0;     /* Afrundede hjørner til højre */
}
/* Kortene til opgaverne og info-bokse */
.card, .table-box { 
    background: white; 
    padding: 25px; 
    border-radius: 12px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.05); 
    margin-bottom: 20px; 
}

/* Specifik styling for opgave-kortene */
.card { 
    border-left: 5px solid #27ae60; 
}
.trap-card { border-left: 5px solid #e67e22; background: #fffcf9; }

/* Overskrifter */
h1 { color: #000000; text-align: center; margin-bottom: 5px; }
h2 { color: #7f8c8d; text-align: center; margin-bottom: 30px; font-weight: normal; font-size: 1.2em; }
.task-title { font-size: 1.1em; color: #2c3e50; margin-bottom: 10px; display: block; font-weight: bold; }
.info-badge { background: #e67e22; color: white; padding: 3px 10px; border-radius: 4px; font-size: 0.8em; text-transform: uppercase; font-weight: bold; display: inline-block; margin-bottom: 10px;}

/* Formelboksen */
.formula-box { 
    background: #fff; 
    padding: 20px; 
    border-radius: 8px; 
    border: 2px solid #27ae60; 
    text-align: center; 
    margin-bottom: 30px; 
}
.formula-box h3 { margin-top: 0; color: #27ae60; }
.formula-group { display: flex; justify-content: space-around; flex-wrap: wrap; gap: 20px; margin-bottom: 20px; }

/* -------------------------------------------------------------------------- */
/* NY SEKTION: CSS til Trigonometritabellen                                   */
/* -------------------------------------------------------------------------- */

/* Boksen der omslutter tabellen */
.table-box h3 { 
    margin-top: 0; 
    text-align: center; 
    color: #7f8c8d; 
    font-weight: normal; 
}

/* Selve tabellen */
table.trig-table { 
    width: 100%;                  /* Fuld bredde */
    border-collapse: collapse;    /* Klap rammerne sammen til én */
    margin-top: 10px; 
    table-layout: fixed;         /* Forhindrer mærkelig celle-bredde */
}

/* Rammer og luft i alle celler (th og td) */
table.trig-table th, 
table.trig-table td { 
    border: 1px solid #ddd;       /* Tynd grå ramme */
    padding: 10px;                /* Luft inde i cellerne */
    text-align: right;           /* Justér alle tal til højre */
}

/* Specifikt for tabeloverskriften (<thead>) */
table.trig-table th { 
    background-color: #f8f9fa;   /* Lysegrå baggrund */
    color: #2c3e50;               /* Mørk tekstfarve */
    font-weight: bold;            /* Fed skrift */
}

/* Den første kolonne (med graderne) skal være venstrejusteret */
table.trig-table td:first-child,
table.trig-table th:first-child {
    text-align: left;
}

/* -------------------------------------------------------------------------- */
/* SLUT PÅ NY TABEL-SEKTION                                                   */
/* -------------------------------------------------------------------------- */

/* Input-felter */
.input-section { margin-top: 15px; margin-bottom: 15px; }
input[type="number"] { 
    padding: 10px; 
    width: 120px; 
    border: 2px solid #ddd; 
    border-radius: 6px; 
    font-size: 16px; 
    margin: 5px 0;
}
input:focus { border-color: #27ae60; outline: none; }

/* Knapper */
.btn-group { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
button { 
    padding: 10px 20px; 
    border: none; 
    border-radius: 6px; 
    cursor: pointer; 
    font-weight: bold; 
    transition: 0.3s; 
    font-size: 0.9em;
}

.btn-check { background-color: #27ae60; color: white; }
.btn-check:hover { background-color: #219150; }

.btn-hint { background-color: #f1c40f; color: #2c3e50; }
.btn-hint:hover { background-color: #f39c12; }

.btn-sol { background-color: #95a5a6; color: white; }
.btn-sol:hover { background-color: #7f8c8d; }

.trap-btn { background-color: #e67e22; color: white; }
.trap-btn:hover { background-color: #d35400; }

/* Feedback */
.feedback { margin-top: 15px; font-weight: bold; min-height: 1.2em; }
.correct { color: #27ae60; }
.incorrect { color: #c0392b; }

/* Hint- og løsningsbokse */
.hint-box, .sol-box { 
    display: none; 
    margin-top: 15px; 
    padding: 15px; 
    border-radius: 8px; 
    font-size: 0.95em; 
    border: 1px solid #ddd;
}
.hint-box { background-color: #fef9e7; border-color: #f1c40f; color: #7e5109; }
.sol-box { background-color: #f8f9fa; border-color: #bdc3c7; color: #2c3e50; }