/* 
 * RhederArt WooCommerce aanpassingen
 */

/* ===== Account pagina algemeen ===== */

body.woocommerce-account .woocommerce {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* ===== Linker menu ===== */

body.woocommerce-account .woocommerce-MyAccount-navigation {
    width: 180px;
    flex: 0 0 180px;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-account .woocommerce-MyAccount-navigation li {
    margin: 0;
}

/* Links */
body.woocommerce-account .woocommerce-MyAccount-navigation a {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    color: #ddd;
    border-radius: 6px;
    transition: background 0.2s ease;
}

/* Hover */
body.woocommerce-account .woocommerce-MyAccount-navigation a:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}

/* Actief item */
body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
    background: #ffffff;
    color: #000;
    font-weight: 600;
}

/* ===== Rechter content ===== */

body.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto;
    min-width: 0;
    padding-top: 0.2rem;
}

/* ===== Titels ===== */

body.woocommerce-account h2 {
    margin-top: 0;
}

/* ===== Kleine extra verfijning ===== */

body.woocommerce-account p {
    line-height: 1.5;
}

/* =========================================
   Mijn account / FooEvents Tickets
   ========================================= */

/* Tabel netjes en wat compacter */
body.woocommerce-account .woocommerce-MyAccount-content table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
}

/* Rijen en cellen */
body.woocommerce-account .woocommerce-MyAccount-content td {
    padding: 0.7rem 0.6rem;
    vertical-align: middle;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Eerste kolom: ticketnummer */
body.woocommerce-account .woocommerce-MyAccount-content td:first-child {
    width: 150px;
    white-space: nowrap;
    color: rgba(255,255,255,0.9);
}

/* Tweede kolom: voorstelling krijgt de meeste ruimte */
body.woocommerce-account .woocommerce-MyAccount-content td:nth-child(2) {
    width: auto;
    word-break: break-word;
}

/* Laatste kolom rechts uitlijnen */
body.woocommerce-account .woocommerce-MyAccount-content td:last-child {
    width: 140px;
    text-align: right;
    white-space: nowrap;
}

/* Hover-effect per rij */
body.woocommerce-account .woocommerce-MyAccount-content tr:hover {
    background: rgba(255,255,255,0.04);
}

/* Downloadlink als knopje */
body.woocommerce-account .woocommerce-MyAccount-content td:last-child a {
    display: inline-block;
    padding: 0.42rem 0.85rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.10);
    text-decoration: none;
    line-height: 1.2;
    transition: background 0.2s ease;
}

body.woocommerce-account .woocommerce-MyAccount-content td:last-child a:hover {
    background: rgba(255,255,255,0.18);
    text-decoration: none;
}

/* Iets meer ruimte tussen titel en lijst */
body.woocommerce-account .woocommerce-notices-wrapper + h1 {
    margin-top: 0;
}

/* ===== Mobiel ===== */

@media (max-width: 768px) {
    body.woocommerce-account .woocommerce {
        flex-direction: column;
        gap: 24px;
    }

    body.woocommerce-account .woocommerce-MyAccount-navigation {
        width: 100%;
        flex: 0 0 auto;
    }

    body.woocommerce-account .woocommerce-MyAccount-content {
        width: 100%;
    }

    body.woocommerce-account .woocommerce-MyAccount-content > h1 {
        font-size: 1.8rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-content td {
        padding: 0.6rem 0.35rem;
        font-size: 0.95rem;
    }

    body.woocommerce-account .woocommerce-MyAccount-content td:first-child {
        width: 120px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content td:last-child {
        width: 110px;
    }

    body.woocommerce-account .woocommerce-MyAccount-content td:last-child a {
        padding: 0.38rem 0.65rem;
    }
}

/* ===== Tekst boven tickets op de pagina fooevents-tickets ===== */
.ra-tickets-intro {
    margin: 0 0 1.2rem 0;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    background: rgba(255,255,255,0.06);
    line-height: 1.5;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
}