/*
 Theme Name: Hello Elementor Child
 Theme URI: https://example.com/
 Description: Child theme voor Hello Elementor, Ministerie van Ambitie
 Author: Just a Dirk
 Author URI: https://example.com/
 Template: hello-elementor
 Version: 1.0.0
 Text Domain: hello-elementor-child
*/

/* kleurvariabelen */
:root{
    --donker-blauw:#154273;
    --licht-blauw:#19b8e0;
    --accent-oranje:#e8660f;
    --grijs:#f3f3f3;
    --wit:#ffffff;
    --radius:10px;
}

input[type=text], input[type=url], select, textarea {
    border: 2px solid #154273;
    border-radius: 10px;
    padding: .5rem 1rem;
    transition: all .3s;
    width: 100%;
	font-size: 16px;
}


/* algemene basis */
.account-wrapper,
.medewerkers-tabel-wrapper,
.admin-overzicht-card{
    font-family: Arial, sans-serif;
    color: var(--donker-blauw);
}

/* knoppen (oranje primair) */
.medewerker-toevoegen-btn,
.toevoegen-btn,
.account-save-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:10px 14px;
    border:1px solid var(--accent-oranje);
    border-radius: var(--radius);
    background: var(--accent-oranje)!important;
    color: var(--wit);
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition: background .15s ease, color .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.medewerker-toevoegen-btn:hover,
.toevoegen-btn:hover,
.account-save-btn:hover{
    background: var(--accent-oranje);
    color: var(--wit);
    border-color: var(--donker-blauw);
}

.medewerker-toevoegen-btn:active,
.toevoegen-btn:active,
.account-save-btn:active{
    background: var(--accent-oranje)!important;
    color: var(--wit);
    border-color: var(--accent-oranje);
}

.medewerker-toevoegen-btn[disabled],
.toevoegen-btn[disabled],
.account-save-btn[disabled]{
    opacity:.55;
    cursor:not-allowed;
}

/* spinner (licht blauw) */
.spinner{
    width:16px;
    height:16px;
    border:2px solid rgba(25,184,224,.25);
    border-top-color: rgba(25,184,224,1);
    border-radius:50%;
    display:none;
    animation: spin .8s linear infinite;
}
.toevoegen-btn.is-loading .spinner,
.account-save-btn.is-loading .spinner{
    display:inline-block;
}
@keyframes spin{ to{ transform: rotate(360deg); } }

/* ===== bedrijfsgegevens blok ===== */
.account-card{
    background:var(--wit);
    border:2px solid var(--donker-blauw);
    border-radius:var(--radius);
    padding:18px;
}

.account-title{
    margin:0 0 6px 0;
    font-size:18px;
    font-weight:600;
    color:var(--donker-blauw);
}

.account-subtitle{
    margin:0;
    font-size:16px;
    color:rgba(21,66,115,.75);
}

.account-grid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:12px;
}

.account-field{
    padding:12px;
    border:1px solid rgba(21,66,115,.35);
    border-radius:var(--radius);
}

.account-label{
    font-size:16px;
    color:rgba(21,66,115,.8);
    font-weight:700;
}

.account-value{
    font-size:16px;
    color:var(--donker-blauw);
    word-break:break-word;
}

.account-divider{
    height:1px;
    background:rgba(21,66,115,.2);
    margin:16px 0;
}

.account-form{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.account-form__row{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
}

.account-input{
    display:flex;
    flex-direction:column;
    gap:6px;
    flex:1;
    min-width:220px;
}

.account-input--small{
    flex:0 0 160px;
    min-width:160px;
}

.account-input__label{
    font-size:16px;
    color:rgba(21,66,115,.8);
    font-weight:700;
}

.account-input input{
    padding:10px 12px;
    border:2px solid rgba(21,66,115,.45);
    border-radius:var(--radius);
    font-size:16px;
    color:var(--donker-blauw);
    background:var(--wit);
    outline:none;
}

.account-input input:focus{
    border-color: var(--licht-blauw);
    box-shadow:0 0 0 2px rgba(25,184,224,.18);
}

.account-actions{
    display:flex;
    align-items:center;
    gap:12px;
    margin-top:6px;
}

.account-status{
    font-size:16px;
    color:rgba(21,66,115,.75);
}

/* ===== abonnement blok ===== */
.abonnement-current{
    font-size:16px;
    color:var(--donker-blauw);
    margin-bottom:12px;
    padding:10px 12px;
    border:2px solid rgba(21,66,115,.35);
    border-radius:var(--radius);
}

.abonnement-grid{
    display:grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap:12px;
}

.ab-card{
    border:2px solid rgba(21,66,115,.35);
    border-radius:var(--radius);
    padding:14px;
    background:var(--wit);
    cursor:pointer;
    transition: box-shadow .15s ease, border-color .15s ease;
}

.ab-card input{ display:none; }

.ab-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:10px;
    margin-bottom:10px;
}

.ab-title{
    font-size:16px;
    font-weight:600;
    margin:0;
    color:var(--donker-blauw);
}

.ab-price{
    font-size:14px;
    color:var(--donker-blauw);
    background:var(--grijs);
    border:2px solid rgba(21,66,115,.25);
    padding:4px 8px;
    border-radius:999px;
    white-space:nowrap;
}

.ab-list{
    margin:0;
    padding-left:16px;
    color:rgba(21,66,115,.85);
    font-size:14px;
}

.ab-card.is-selected{
    border-color: var(--licht-blauw);
    box-shadow: 0 0 0 2px rgba(25,184,224,.18);
}

.ab-badge{
    margin-top:10px;
    display:inline-block;
    font-size:14px;
    padding:10px;
    border-radius:8px;
    background: var(--licht-blauw);
    color: var(--wit);
    display:none;
    font-weight:600;
}

.ab-card.is-selected .ab-badge{ display:inline-block; }

@media (max-width: 900px){
    .abonnement-grid{ grid-template-columns:1fr; }
    .account-grid{ grid-template-columns:1fr; }
}

/* ===== kosten per maand blok ===== */
.facturatie-box{
    padding:12px;
    border:2px solid rgba(21,66,115,.35);
    border-radius:var(--radius);
}
.fact-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    padding:6px 0;
    font-size:16px;
    color:var(--donker-blauw);
}
.fact-divider{
    height:1px;
    background:rgba(21,66,115,.2);
    margin:10px 0;
}
.fact-total span{ font-weight:600; }
.fact-total strong{ font-size:16px; color:var(--donker-blauw); }
.fact-note{
    margin-top:10px;
    font-size:16px;
    color:rgba(21,66,115,.75);
}

/* ===== medewerkers blok ===== */
.tabel-acties{
    display:flex;
    gap:12px;
    align-items:center;
    flex-wrap:wrap;
    margin-bottom:12px;
}

.tabel-zoekveld{
    width:100%;
    max-width:320px;
    padding:10px 12px;
    border:2px solid rgba(21,66,115,.45);
    border-radius:var(--radius);
    background:var(--grijs);
    color:var(--donker-blauw);
    font-size:14px;
    outline:none;
}

.tabel-zoekveld:focus{
    border-color: var(--licht-blauw);
    box-shadow:0 0 0 2px rgba(25,184,224,.18);
    background:var(--wit);
}

.medewerker-form{
    gap:12px;
    background:var(--grijs);
    border:2px solid #154273;
    border-radius:var(--radius);
    padding:12px;
    margin:0 0 12px 0;
    flex-wrap:wrap;
	font-size: 16px;
}

.medewerker-form label{
    display:flex;
    flex-direction:column;
    gap:6px;
    font-size:12px;
    color:rgba(21,66,115,.8);
    font-weight:700;
    min-width:200px;
    flex:1;
	font-size: 14px;
}

.medewerker-form input{
    padding:10px 12px;
    border:2px solid rgba(21,66,115,.45);
    border-radius:var(--radius);
    font-size:14px;
    background:var(--wit);
    color:var(--donker-blauw);
    outline:none;
}

.medewerker-form input:focus{
    border-color: var(--licht-blauw);
    box-shadow:0 0 0 2px rgba(25,184,224,.18);
}

/* tabel */
.medewerkers-tabel{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    border:2px solid var(--donker-blauw);
    border-radius:var(--radius);
    overflow:hidden;
}

.medewerkers-tabel thead th{
    color:var(--donker-blauw);
    font-weight:600;
    font-size:16px;
    padding:12px;
    border-bottom:2px solid rgba(21,66,115,.35);
    text-align:left;
}

.medewerkers-tabel tbody td{
    background:var(--wit);
    color:var(--donker-blauw);
    font-size:13px;
    padding:12px;
    border-bottom:2px solid rgba(21,66,115,.18);
}

.medewerkers-tabel tbody tr:last-child td{
    border-bottom:none;
}



/* verwijder knop */
.verwijder-btn{
    width:34px;
    height:34px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border:1px solid var(--accent-oranje);
    border-radius:var(--radius);
    background:transparent;
    color:var(--accent-oranje);
    font-size:18px;
    line-height:1;
    cursor:pointer;
    padding:0;
    transition: background .15s ease, color .15s ease, box-shadow .15s ease;
}

.verwijder-btn:hover{
    background:var(--grijs);
}

.verwijder-btn:active{
    background:transparent;
}

/* admin overzicht */
.admin-overzicht-card{
    background:var(--wit);
    border:2px solid var(--donker-blauw);
    border-radius:var(--radius);
    padding:16px;
}

.admin-overzicht-zoek{
    width:100%;
    max-width:420px;
    padding:10px 12px;
    border:2px solid rgba(21,66,115,.45);
    border-radius:var(--radius);
    font-size:14px;
    outline:none;
    margin:10px 0 14px 0;
    color:var(--donker-blauw);
}

.admin-overzicht-zoek:focus{
    border-color: var(--licht-blauw);
    box-shadow:0 0 0 2px rgba(25,184,224,.18);
    background:var(--wit);
}

.admin-overzicht-table{
    width:100%;
    border-collapse:separate;
    border-spacing:0;
    border:1px solid var(--donker-blauw);
    border-radius:var(--radius);
    overflow:hidden;
}

.admin-overzicht-table thead th{
    border-bottom:1px solid rgba(21,66,115,.35);
    font-size:16px;
    font-weight:600;
    color:var(--donker-blauw);
    padding:12px;
    text-align:left;
}

.admin-overzicht-table td{
    background:var(--wit);
    border-bottom:1px solid rgba(21,66,115,.18);
    font-size:14px;
    color:var(--donker-blauw);
    padding:12px;
    vertical-align:middle;
}

.admin-overzicht-table tbody tr:last-child td{
    border-bottom:none;
}



.admin-overzicht-table td strong{
    display:inline-block;
    border:2px solid rgba(21,66,115,.25);
    padding:4px 8px;
    border-radius:999px;
    font-size:12px;
    font-weight:600;
    color:var(--donker-blauw);
}

@media (max-width: 900px){
    .admin-overzicht-table{
        display:block;
        overflow:auto;
        white-space:nowrap;
    }
}
