/* PP Afspraken – Frontend Formulier */

.ppa-formulier {
    max-width: 560px;
    margin: 0 auto;
    font-family: inherit;
}

.ppa-stap-titel {
    font-size: 1.1em;
    font-weight: 700;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e8e8;
    color: #222;
}

.ppa-veld-groep {
    margin-bottom: 18px;
}

.ppa-veld-groep label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
    font-size: 0.95em;
}

.ppa-vereist {
    color: #c0392b;
}

.ppa-input,
.ppa-select {
    width: 100%;
    padding: 10px 14px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #333;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.ppa-input:focus,
.ppa-select:focus {
    outline: none;
    border-color: #1a6fa0;
    box-shadow: 0 0 0 3px rgba(26,111,160,.15);
}

.ppa-input[readonly] {
    cursor: pointer;
    background: #f8f8f8;
}

.ppa-btn-wrap {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.ppa-btn {
    padding: 11px 28px;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
}

.ppa-btn:active { transform: scale(0.98); }

.ppa-btn-primary {
    background: #1a6fa0;
    color: #fff;
    flex: 1;
}
.ppa-btn-primary:hover { background: #155d87; }

.ppa-btn-sec {
    background: #f0f0f0;
    color: #333;
}
.ppa-btn-sec:hover { background: #e0e0e0; }

/* Samenvatting boven stap 2 */
.ppa-samenvatting {
    background: #eaf4fb;
    border-left: 4px solid #1a6fa0;
    padding: 10px 14px;
    border-radius: 4px;
    font-size: 0.9em;
    color: #1a3a52;
    margin-bottom: 18px;
}

/* Berichten */
.ppa-bericht {
    padding: 14px 18px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-weight: 600;
}
.ppa-bericht.ppa-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}
.ppa-bericht.ppa-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}
.ppa-info {
    font-size: 0.9em;
    color: #666;
    font-style: italic;
    margin-top: 6px;
}

/* Loader */
.ppa-loader {
    text-align: center;
    padding: 20px;
    color: #555;
}
.ppa-spinner {
    display: inline-block;
    width: 18px;
    height: 18px;
    border: 3px solid #ccc;
    border-top-color: #1a6fa0;
    border-radius: 50%;
    animation: ppa-spin .7s linear infinite;
    vertical-align: middle;
    margin-right: 8px;
}
@keyframes ppa-spin { to { transform: rotate(360deg); } }

/* jQuery UI datepicker customisation */
.ui-datepicker { font-size: 0.9em !important; }
.ui-datepicker .ui-state-highlight,
.ui-datepicker .ui-state-active {
    background: #1a6fa0 !important;
    color: #fff !important;
    border-color: #1a6fa0 !important;
}
.ui-datepicker .ui-datepicker-today a {
    border: 2px solid #1a6fa0 !important;
}
