/* ─── PMA Public CSS ──────────────────────────────────── */

/* Formulaire */
.pma-form-wrap {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px 32px;
    max-width: 560px;
    margin: 24px auto;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.pma-form-title {
    margin: 0 0 8px;
    font-size: 1.25em;
    color: #1d2327;
}
.pma-form-desc {
    color: #555;
    margin-bottom: 24px;
    font-size: .95em;
    line-height: 1.5;
}
.pma-form-group { margin-bottom: 16px; }
.pma-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: .9em;
}
.pma-form-group select,
.pma-form-group input[type="email"],
.pma-form-group input[type="tel"] {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color .2s;
}
.pma-form-group select:focus,
.pma-form-group input:focus {
    border-color: #2271b1;
    outline: none;
    box-shadow: 0 0 0 2px rgba(34,113,177,.15);
}
.pma-checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}
.pma-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}
.pma-btn-primary {
    background: #2271b1;
    color: #fff;
    width: 100%;
    justify-content: center;
}
.pma-btn-primary:hover { background: #135e96; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(34,113,177,.3); }
.pma-btn:disabled { opacity: .6; cursor: not-allowed; transform: none !important; }

/* Messages */
.pma-message {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: .95em;
    margin-top: 12px;
}
.pma-message.pma-success { background: #edfaed; border: 1px solid #00a32a; color: #1a4a1a; }
.pma-message.pma-error   { background: #fef0f0; border: 1px solid #d63638; color: #5c1111; }

/* Legal */
.pma-form-legal {
    font-size: .78em;
    color: #888;
    margin-top: 16px;
    line-height: 1.4;
}

/* Widget alertes */
.pma-alerts-widget {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 20px 24px;
    background: #fff;
    max-width: 700px;
    margin: 16px auto;
}
.pma-alerts-widget h3 { margin: 0 0 16px; font-size: 1.1em; }
.pma-alerts-list { list-style: none; margin: 0; padding: 0; }
.pma-alert-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}
.pma-alert-item:last-child { border-bottom: none; }
.pma-alert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #00a32a;
    flex-shrink: 0;
    animation: pma-pulse 2s infinite;
}
@keyframes pma-pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: .4; }
}
.pma-alert-body { flex: 1; font-size: .9em; }
.pma-alert-time { display: block; color: #888; font-size: .8em; margin-top: 2px; }
.pma-alert-link {
    font-size: .85em;
    color: #2271b1;
    text-decoration: none;
    white-space: nowrap;
}
.pma-alert-link:hover { text-decoration: underline; }
.pma-no-alerts { color: #888; font-style: italic; font-size: .9em; }
