/* Container principale del form */
.ptm-form-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 25px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.ptm-form-container h3 {
    margin-top: 0;
    color: #1e293b;
    font-size: 22px;
    margin-bottom: 10px;
}

.ptm-info {
    font-size: 14px;
    color: #475569;
    margin-bottom: 20px;
    background: #f8fafc;
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 4px solid #0284c7;
}

/* Campi Form */
.ptm-form .ptm-field {
    margin-bottom: 18px;
}

.ptm-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #334155;
    font-size: 14px;
}

.ptm-form input[type="text"],
.ptm-form input[type="email"],
.ptm-form input[type="tel"],
.ptm-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.ptm-form input:focus,
.ptm-form textarea:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

.ptm-btn {
    background-color: #0284c7;
    color: #ffffff;
    border: none;
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.2s ease;
}

.ptm-btn:hover {
    background-color: #0369a1;
}

/* Alert e Badge */
.ptm-alert {
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: 14px;
}

.ptm-alert-success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.ptm-alert-warning { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.ptm-alert-danger  { background: #fee2e2; color: #991b1b; border: 1px solid #fecaca; }

.ptm-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.ptm-badge-confirmed { background: #dcfce7; color: #15803d; }
.ptm-badge-waiting   { background: #fef3c7; color: #b45309; }
.ptm-badge-rejected  { background: #fee2e2; color: #b91c1c; }

/* Admin Layout */
.ptm-admin-card {
    background: #fff;
    border: 1px solid #c3c4c7;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}








/* Stili Elenco Pubblico Iscritti */
.ptm-public-list-container {
    max-width: 700px;
    margin: 20px auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.ptm-list-main-title {
    font-size: 24px;
    color: #0f172a;
    margin-bottom: 4px;
}

.ptm-list-date {
    color: #64748b;
    font-size: 14px;
    margin-bottom: 25px;
}

.ptm-category-block {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.ptm-category-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 18px;
    color: #0369a1;
    border-bottom: 2px solid #e0f2fe;
    padding-bottom: 8px;
}

.ptm-category-count {
    font-size: 14px;
    color: #475569;
    font-weight: normal;
}

.ptm-sub-title {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.ptm-confirmed-title {
    color: #166534;
}

.ptm-waiting-title {
    color: #854d0e;
}

.ptm-entries-list {
    margin: 0;
    padding-left: 20px;
    color: #334155;
}

.ptm-entries-list li {
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
    font-size: 15px;
}

.ptm-entries-list li:last-child {
    border-bottom: none;
}

.ptm-player-name {
    font-weight: 600;
}

.ptm-player-separator {
    color: #94a3b8;
    font-weight: bold;
}

.ptm-empty-msg {
    font-size: 13px;
    color: #94a3b8;
    font-style: italic;
    margin: 5px 0;
}

.ptm-waiting-block {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
}