/* ---------- Sælgerlogin ---------- */
main h1 {
    color: var(--fog-blue);
}

.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
}

.seller-login {
    max-width: 400px;
}

.seller-login .button {
    align-self: stretch;
}

/* ---------- Forespørgsler ---------- */
.requests {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.requests th,
.requests td {
    padding: 12px 10px;
    text-align: left;
    border-bottom: 1px solid #D3D1C7;
}

.requests th {
    font-size: 13px;
    color: var(--text-muted);
}

.requests a {
    color: var(--fog-blue);
    font-weight: 600;
}

.requests tbody tr:hover {
    background-color: var(--footer-bg);
}

.error-message {
    color: #B3261E;
    font-weight: 600;
}

@media (max-width: 600px) {
    .requests {
        font-size: 12px;
    }

    .requests th,
    .requests td {
        padding: 8px 4px;
    }
}

/* ---------- Detaljeside ---------- */

.back-link {
    display: inline-block;
    margin-bottom: 18px;
    color: var(--fog-blue);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}

.detail-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.card {
    border: 1px solid #D3D1C7;
    border-radius: 4px;
    padding: 16px;
}

.card-title {
    margin: 0 0 12px;
    font-size: 15px;
    color: var(--text);
}

.card-muted {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-muted);
}

.card-measures {
    margin: 0;
    font-size: 13px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 13px;
}

.price-row span:last-child {
    font-weight: 600;
}

.price-input {
    width: 110px;
    padding: 6px 8px;
    border: 1px solid #D3D1C7;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-align: right;
}

.bom-title {
    margin: 30px 0 12px;
    font-size: 14px;
    color: var(--text);
}

.bom {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.bom th,
.bom td {
    padding: 10px 8px;
    text-align: left;
    border-bottom: 1px solid #D3D1C7;
}

.bom th {
    background-color: #F5F5F3;
    font-weight: 400;
    color: var(--text-muted);
}

@media (max-width: 600px) {
    .detail-cards {
        grid-template-columns: 1fr;
    }
}