.wps-alert {
    padding: 12px 14px;
    margin: 0 0 15px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.45;
}

.wps-alert-success {
    background: #e7f7ed;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.wps-alert-error {
    background: #fdeaea;
    color: #842029;
    border: 1px solid #f5c2c7;
}

.wps-form-segnalazione {
    max-width: 700px;
}

.wps-form-segnalazione p {
    margin-bottom: 16px;
}

.wps-form-segnalazione label {
    display: inline-block;
    margin-bottom: 6px;
}

.wps-form-segnalazione input,
.wps-form-segnalazione select,
.wps-form-segnalazione textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
}

.wps-form-segnalazione textarea {
    min-height: 140px;
    resize: vertical;
}

.wps-btn {
    padding: 10px 18px;
    border: 0;
    border-radius: 0px;
    cursor: pointer;
    background: #000;
    color: #fff;
}

.wps-btn:hover,
.wps-btn:focus {
    opacity: 0.75;
}

.wps-user-segnalazioni {
    margin-top: 30px;
}

.wps-user-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
    font-size: 14px;
}

.wps-user-table th,
.wps-user-table td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: left;
    vertical-align: top;
}

.wps-user-table th {
    background: #f7f7f7;
}

.wps-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.wps-badge-1 {
    background: #fff3cd;
    color: #856404;
}

.wps-badge-2 {
    background: #d1ecf1;
    color: #0c5460;
}

.wps-badge-3 {
    background: #d4edda;
    color: #155724;
}

.wps-badge-4 {
    background: #f8d7da;
    color: #721c24;
}


.wps-toast {
    position: fixed;
    top: 50px;
    left: 20px;
    z-index: 99999;
    min-width: 260px;
    max-width: 420px;
    padding: 14px 16px;
    border-radius: 8px;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity .25s ease, transform .25s ease;
}

.wps-toast-show {
    opacity: 0.75;
    transform: translateY(0);
}

.wps-toast-success {
    background: #28a745;
}

.wps-toast-error {
    background: #dc3545;
}