/* =========================================
   EGGEMORUNDENE – PÅMELDINGSSKJEMA
   ========================================= */

.pdb-signup {
    max-width: 500px;
    margin: 20px auto;
    padding: 25px;
    background: rgba(255,255,255,0.90);
    border-radius: 14px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

/* Fjern gammelt tabellpreg */
.pdb-signup table,
.pdb-signup tbody,
.pdb-signup tr,
.pdb-signup td,
.pdb-signup th {
    display: block;
    width: 100%;
    box-sizing: border-box;
}

.pdb-signup tr {
    margin-bottom: 15px;
    background: transparent !important;
}

.pdb-signup td,
.pdb-signup th {
    border: 0 !important;
    padding: 0 !important;
    background: transparent !important;
}

/* Feltnavn */
.pdb-signup label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 600;
    color: #222;
    text-align: center;
}

/* Tekstfeltene */
.pdb-signup input[type="text"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    height: 46px;
    padding: 8px 12px;
    border: 1px solid #bbb;
    border-radius: 7px;
    background: #fff;
    font-size: 16px;
    color: #222;
    box-sizing: border-box;
}

.pdb-signup input[type="text"]:focus {
    border-color: #FC4C02;
    outline: none;
    box-shadow: 0 0 0 2px rgba(252,76,2,0.12);
}

/* Påmeldingsknapp – Strava-inspirert */
.pdb-signup input[type="submit"],
.pdb-signup button[type="submit"] {
    width: 100%;
    margin-top: 7px;
    padding: 13px 18px;
    border: 0;
    border-radius: 7px;

    background: #FC4C02 !important;
    color: #fff !important;

    font-size: 16px;
    font-weight: 700;
    cursor: pointer;

    transition: background 0.2s ease,
                transform 0.1s ease;
}

/* Hover */
.pdb-signup input[type="submit"]:hover,
.pdb-signup button[type="submit"]:hover {
    background: #E34402 !important;
}

/* Lite trykk når man klikker */
.pdb-signup input[type="submit"]:active,
.pdb-signup button[type="submit"]:active {
    transform: translateY(1px);
}

/* Mobil */
@media (max-width: 600px) {

    .pdb-signup {
        width: calc(100% - 24px);
        margin: 15px auto;
        padding: 18px;
        box-sizing: border-box;
    }

    .pdb-signup input[type="text"] {
        height: 44px;
    }
}

/* =========================================
   EGGEMORUNDENE – PÅMELDTE
   ========================================= */

.pdb-list {
    width: 100% !important;
    max-width: 400px !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 15px auto 35px !important;
    padding: 8px 0 !important;

    background: rgba(255,255,255,0.92) !important;
    border-radius: 12px !important;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
    overflow: hidden !important;
}

/* Fjern overskriften */
.pdb-list thead {
    display: none !important;
}

.pdb-list table {
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 auto !important;
    border-collapse: collapse !important;
    table-layout: auto !important;

    background: transparent !important;
}

/* Rad */
.pdb-list tbody tr {
    height: auto !important;
    min-height: 0 !important;
    background: transparent !important;
}

/* Begge navnecellene */
.pdb-list tbody td {
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 10px 0 !important;
    margin: 0 !important;

    border: 0 !important;
    background: transparent !important;

    font-size: 15px !important;
    line-height: 1.4 !important;
    color: #222 !important;
    white-space: nowrap !important;
}

/* Mellomrom mellom fornavn og etternavn */
.pdb-list tbody td:first-child {
    padding-right: 5px !important;
}

/* Skille mellom flere personer */
.pdb-list tbody tr:not(:last-child) td {
    border-bottom: 1px solid rgba(0,0,0,0.08) !important;
}

@media (max-width: 600px) {
    .pdb-list {
        width: calc(100% - 30px) !important;
        max-width: 400px !important;
    }
}