/**
 * Fluier - Frontend styles
 * Brand colors: Navy #00276B, Blue #003DA5, Yellow accent #FFC72C
 */

.pct-fe-box {
    max-width: 720px;
    margin: 40px auto;
    padding: 32px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 39, 107, 0.08);
    border-top: 5px solid #FFC72C;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.55;
    color: #1f2937;
}

.pct-fe-box h2 {
    color: #00276B;
    font-size: 28px;
    margin: 0 0 8px;
    font-weight: 700;
}

.pct-fe-box h3 {
    color: #003DA5;
    font-size: 18px;
    margin: 22px 0 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid #FFF4D1;
}

.pct-fe-intro {
    color: #475569;
    margin: 0 0 20px;
    font-size: 15px;
}

/* Alerts */
.pct-fe-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 16px 0;
    font-size: 14px;
}
.pct-fe-alert-error {
    background: #fee2e2;
    border-left: 4px solid #dc2626;
    color: #991b1b;
}
.pct-fe-alert-error ul { margin: 6px 0 0 18px; padding: 0; }
.pct-fe-alert-info {
    background: #e0f2fe;
    border-left: 4px solid #0284c7;
    color: #075985;
}
.pct-fe-success {
    background: #dcfce7;
    border-left: 5px solid #16a34a;
    color: #166534;
    border-top: none;
    border-radius: 8px;
}
.pct-fe-success h3 { color: #166534; border: none; margin-top: 0; }

/* Form */
.pct-fe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pct-fe-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.pct-fe-form label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-weight: 600;
    font-size: 14px;
    color: #00276B;
}
.pct-fe-form input[type=text],
.pct-fe-form input[type=email],
.pct-fe-form input[type=tel],
.pct-fe-form input[type=date],
.pct-fe-form input[type=password],
.pct-fe-form select {
    padding: 10px 12px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    font-family: inherit;
}
.pct-fe-form input:focus,
.pct-fe-form select:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-fe-checkbox {
    display: flex;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 10px !important;
    font-weight: normal !important;
    color: #475569 !important;
    font-size: 13px;
    margin: 10px 0;
}
.pct-fe-checkbox input[type=checkbox] { margin-top: 3px; }

/* Submit button */
.pct-fe-submit,
.pct-fe-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none !important;
    border: none;
    transition: all 0.15s ease;
    font-family: inherit;
}
.pct-fe-btn {
    background: #f1f5f9;
    color: #334155 !important;
    border: 1.5px solid #e2e8f0;
}
.pct-fe-btn:hover {
    background: #e2e8f0;
}
.pct-fe-submit,
.pct-fe-btn.pct-fe-btn-primary,
.pct-fe-btn-primary {
    background: linear-gradient(135deg, #003DA5 0%, #00276B 100%);
    color: #fff !important;
    border: none;
}
.pct-fe-submit:hover,
.pct-fe-btn.pct-fe-btn-primary:hover,
.pct-fe-btn-primary:hover {
    background: linear-gradient(135deg, #00276B 0%, #001A4D 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 39, 107, 0.25);
    color: #fff !important;
}
.pct-fe-submit {
    margin-top: 16px;
    align-self: flex-start;
    font-size: 16px;
    padding: 14px 30px;
}

/* Dashboard */
.pct-fe-dashboard h2 {
    padding-bottom: 14px;
    border-bottom: 3px solid #FFC72C;
    margin-bottom: 20px;
}

.pct-fe-child {
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e2e8f0;
    border-left: 5px solid #003DA5;
    padding: 20px 22px;
    border-radius: 8px;
    margin: 18px 0;
}
.pct-fe-child h3 {
    margin: 0 0 10px;
    border: none;
    padding: 0;
    color: #00276B;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
}
.pct-fe-num {
    display: inline-block;
    background: #FFC72C;
    color: #00276B;
    font-size: 13px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
}

.pct-fe-child-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 14px;
    color: #475569;
    margin: 10px 0 18px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}
.pct-fe-child-meta strong { color: #00276B; }

.pct-fe-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.pct-fe-stat {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pct-fe-stat-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}
.pct-fe-stat-value {
    font-size: 22px;
    font-weight: 700;
    color: #00276B;
}
.pct-fe-stat-value small {
    font-size: 13px;
    font-weight: 500;
    color: #64748b;
    margin-left: 4px;
}

.pct-fe-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}
.pct-fe-badge-ok {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.pct-fe-badge-warn {
    background: #fef3c7;
    color: #854d0e;
    border: 1px solid #fcd34d;
}

.pct-fe-actions {
    display: flex;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.pct-fe-links {
    margin-top: 16px;
    font-size: 14px;
    color: #64748b;
    text-align: center;
}
.pct-fe-links span { margin: 0 8px; }

/* Subscription card (v2.0) */
.pct-sub-card {
    margin: 18px 0 22px;
    padding: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 8px rgba(0, 39, 107, 0.08);
}
.pct-sub-card.paid    { border-left: 5px solid #16a34a; }
.pct-sub-card.unpaid  { border-left: 5px solid #f59e0b; }

.pct-sub-head {
    background: linear-gradient(135deg, #00276B 0%, #003DA5 100%);
    color: #fff;
    padding: 10px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.pct-sub-label {
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-weight: 700;
    color: #FFC72C;
}
.pct-sub-month { opacity: 0.9; }

.pct-sub-body {
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.pct-sub-tier {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pct-sub-tier-name {
    font-size: 22px;
    font-weight: 800;
    color: #00276B;
    letter-spacing: 0.3px;
}
.pct-sub-tier-meta {
    font-size: 13px;
    color: #475569;
}
.pct-sub-status {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}
.pct-sub-status small { color: #6b7280; font-size: 12px; }
.pct-sub-badge {
    padding: 8px 14px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    display: inline-block;
}
.pct-sub-badge-ok   { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.pct-sub-badge-warn { background: #fef3c7; color: #854d0e; border: 1px solid #fcd34d; }

@media (max-width: 640px) {
    .pct-sub-body { flex-direction: column; align-items: flex-start; }
    .pct-sub-status { align-items: flex-start; }
}

/* Event RSVP rows on parent calendar (v3.5) */
.pct-rsvp-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px dashed #e5e7eb;
    margin-top: 10px;
    flex-wrap: wrap;
}
.pct-rsvp-row:first-of-type { margin-top: 14px; }
.pct-rsvp-child {
    font-weight: 700;
    color: #00276B;
    flex: 1;
    min-width: 120px;
}
.pct-rsvp-status {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 999px;
}
.pct-rsvp-ok {
    background: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}
.pct-rsvp-absent {
    background: #fef3c7;
    color: #854d0e;
    border: 1px solid #fcd34d;
}
.pct-rsvp-link {
    background: transparent;
    border: 0;
    color: #003DA5;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    padding: 4px 8px;
    text-decoration: underline;
}
.pct-rsvp-link:hover { color: #00276B; }
.pct-rsvp-link-btn {
    border: 1.5px solid #f59e0b;
    color: #854d0e;
    background: #fff;
    border-radius: 6px;
    text-decoration: none;
    padding: 6px 12px;
}
.pct-rsvp-link-btn:hover { background: #fef3c7; color: #854d0e; }

/* Login box with logo (v3.4) */
.pct-login-body {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 16px !important;
}
.pct-fe-login {
    max-width: 420px;
    width: 100%;
    margin: 0 auto !important;
    text-align: center;
}
.pct-login-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 2px solid #FFF4D1;
}
.pct-login-logo {
    height: 100px;
    width: auto;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 39, 107, 0.2));
}
.pct-login-brand strong {
    display: block;
    color: #00276B;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.3px;
}
.pct-login-brand small {
    display: block;
    color: #FFC72C;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    margin-top: 4px;
    -webkit-text-stroke: 0.5px #003DA5;
}
.pct-fe-login form {
    text-align: left;
}
.pct-fe-login .login-username,
.pct-fe-login .login-password {
    margin-bottom: 14px;
}
.pct-fe-login label { font-weight: 700; color: #00276B; font-size: 14px; display: block; margin-bottom: 6px; }
.pct-fe-login input[type=text], .pct-fe-login input[type=password] {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.15s;
    box-sizing: border-box;
}
.pct-fe-login input[type=text]:focus, .pct-fe-login input[type=password]:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-fe-login .login-submit { text-align: center; margin-top: 18px; }
.pct-fe-login input[type=submit] {
    background: linear-gradient(135deg, #003DA5 0%, #00276B 100%);
    color: #fff;
    border: 0;
    padding: 14px 36px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: all 0.15s;
}
.pct-fe-login input[type=submit]:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 39, 107, 0.3);
}
.pct-fe-login .login-remember { font-size: 13px; color: #64748b; margin-top: 8px; }
.pct-fe-login .pct-fe-links { text-align: center; margin-top: 16px; }
.pct-fe-login .pct-fe-links a { color: #003DA5; text-decoration: none; font-size: 14px; font-weight: 600; }
.pct-fe-login .pct-fe-links a:hover { text-decoration: underline; }

/* Coach messages on parent dashboard (v3.1) */
.pct-msg-section {
    margin: 0 0 22px;
}
.pct-msg-title {
    color: #00276B;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pct-msg-new-tag {
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.pct-msg-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #FFC72C;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 10px;
    box-shadow: 0 1px 2px rgba(0,39,107,0.04);
}
.pct-msg-card.is-new {
    background: linear-gradient(180deg, #FFF9E6 0%, #fff 100%);
    border-left-color: #dc2626;
}
.pct-msg-head {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    margin-bottom: 6px;
}
.pct-msg-head strong {
    color: #00276B;
    font-size: 15px;
}
.pct-msg-head small { color: #64748b; font-size: 12px; }
.pct-msg-body {
    margin: 6px 0 0;
    color: #1e293b;
    line-height: 1.5;
    font-size: 14px;
}
.pct-msg-audio { width: 100%; margin-top: 10px; }

/* Coach portal (v3.0) */
.pct-coach-teams {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.pct-coach-team-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-left: 5px solid #003DA5;
    border-radius: 10px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 2px 6px rgba(0, 39, 107, 0.06);
}
.pct-coach-team-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pct-coach-team-head h3 {
    margin: 0;
    color: #00276B;
    font-size: 20px;
    font-weight: 700;
}
.pct-coach-team-stats {
    color: #475569;
    font-size: 13px;
}
.pct-coach-team-stats strong { color: #003DA5; }
.pct-coach-roster {
    border-top: 1px dashed #e5e7eb;
    border-bottom: 1px dashed #e5e7eb;
    padding: 8px 0;
}
.pct-coach-roster summary {
    cursor: pointer;
    list-style: none;
    padding: 6px 0;
    font-weight: 600;
    color: #003DA5;
    font-size: 14px;
}
.pct-coach-roster summary::-webkit-details-marker { display: none; }
.pct-coach-roster summary::after {
    content: '▾';
    float: right;
    transition: transform 0.2s;
    color: #64748b;
}
.pct-coach-roster[open] summary::after { transform: rotate(180deg); }
.pct-roster-toggle small { color: #64748b; font-weight: normal; margin-left: 4px; }
.pct-coach-player-list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    max-height: 280px;
    overflow-y: auto;
    font-size: 13px;
    color: #475569;
}
.pct-coach-player-list li {
    padding: 5px 2px;
    border-bottom: 1px solid #f1f5f9;
}
.pct-coach-player-list li:last-child { border-bottom: none; }

/* Inline attendance grid (v3.2) */
.pct-att-summary {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}
.pct-att-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    border: 1px solid transparent;
}
.pct-att-ok    { background: #dcfce7; color: #166534; border-color: #86efac; }
.pct-att-no    { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }
.pct-att-ex    { background: #fef3c7; color: #854d0e; border-color: #fcd34d; }
.pct-att-total { background: #f1f5f9; color: #475569; border-color: #cbd5e1; font-size: 12px; }

.pct-att-grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pct-att-row {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: background 0.2s;
}
.pct-att-row.pct-att-flash { background: #fef9c3; }
.pct-att-row[data-status="present"] { border-left: 5px solid #16a34a; }
.pct-att-row[data-status="absent"]  { border-left: 5px solid #dc2626; }
.pct-att-row[data-status="excused"] { border-left: 5px solid #f59e0b; }

.pct-att-name {
    font-size: 15px;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.pct-att-num {
    display: inline-block;
    background: #FFC72C;
    color: #00276B;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 999px;
}

.pct-att-btns {
    display: flex;
    gap: 6px;
}
.pct-att-btn {
    width: 42px;
    height: 42px;
    border: 2px solid #e5e7eb;
    background: #fff;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.15s;
}
.pct-att-btn[data-status="present"].active { background: #dcfce7; color: #166534; border-color: #16a34a; }
.pct-att-btn[data-status="absent"].active  { background: #fee2e2; color: #991b1b; border-color: #dc2626; }
.pct-att-btn[data-status="excused"].active { background: #fef3c7; color: #854d0e; border-color: #f59e0b; }
.pct-att-btn:hover:not(.active) { border-color: #94a3b8; }
.pct-att-btn:disabled { opacity: 0.5; cursor: wait; }

/* v3.14: rating per antrenament (👍 👌 👎). */
.pct-rate-btns {
    display: none;
    gap: 6px;
    align-items: center;
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px dashed #cbd5e1;
}
.pct-att-row.pct-att-show-rate .pct-rate-btns { display: inline-flex; }
.pct-rate-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.pct-rate-btn:hover:not(.active) { border-color: #94a3b8; transform: translateY(-1px); }
.pct-rate-btn:disabled { opacity: 0.5; cursor: wait; }
.pct-rate-btn.pct-rate-3.active { background: #dcfce7; border-color: #16a34a; box-shadow: 0 0 0 3px #bbf7d0; }
.pct-rate-btn.pct-rate-2.active { background: #fef3c7; border-color: #f59e0b; box-shadow: 0 0 0 3px #fde68a; }
.pct-rate-btn.pct-rate-1.active { background: #fee2e2; border-color: #dc2626; box-shadow: 0 0 0 3px #fecaca; }

.pct-rate-hint {
    margin: 12px 0 0;
    padding: 10px 14px;
    font-size: 13px;
    color: #475569;
    background: #f1f5f9;
    border-radius: 8px;
    line-height: 1.45;
}

/* v3.15: Parent-visible evaluations section on child card. */
.pct-parent-progress {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 2px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.pct-parent-trend {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: linear-gradient(90deg, rgba(255,199,44,0.08), rgba(0,39,107,0.05));
    border-radius: 8px;
    flex-wrap: wrap;
}
.pct-parent-trend-label {
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}
.pct-parent-trend-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--trend-color, #00276B);
}
.pct-parent-trend-count {
    color: #94a3b8;
    font-size: 12px;
    margin-left: auto;
}
.pct-rating-breakdown {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.pct-rating-bd-title {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
.pct-rating-bd-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid transparent;
}
.pct-bd-3 { background: #dcfce7; color: #166534; border-color: #86efac; }
.pct-bd-2 { background: #fef3c7; color: #854d0e; border-color: #fcd34d; }
.pct-bd-1 { background: #fee2e2; color: #991b1b; border-color: #fca5a5; }

.pct-eval-history > summary {
    cursor: pointer;
    font-weight: 600;
    color: #00276B;
    padding: 8px 0;
    list-style: none;
}
.pct-eval-history > summary::-webkit-details-marker { display: none; }
.pct-eval-history[open] > summary { border-bottom: 1px solid #e2e8f0; margin-bottom: 10px; }
.pct-eval-timeline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pct-eval-timeline-item {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}
.pct-eval-timeline-period {
    font-size: 11px;
    color: #64748b;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.4px;
}
.pct-eval-timeline-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid;
}

/* Rating timeline on parent Prezențe tab. */
.pct-rating-timeline-wrap {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
}
.pct-rating-timeline-title {
    display: block;
    font-size: 13px;
    color: #475569;
    font-weight: 600;
    margin-bottom: 8px;
}
.pct-rating-timeline {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.pct-rating-pip {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid transparent;
    min-width: 50px;
}
.pct-rating-pip-icon { font-size: 18px; line-height: 1; }
.pct-rating-pip-date { font-size: 11px; margin-top: 2px; font-weight: 600; }
.pct-rating-timeline-legend {
    display: block;
    margin-top: 10px;
    color: #94a3b8;
    font-size: 12px;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .pct-parent-trend { flex-direction: column; align-items: flex-start; gap: 4px; }
    .pct-parent-trend-count { margin-left: 0; }
}

/* v3.16: Meciuri */
.pct-section-heading {
    margin: 20px 0 14px;
    font-size: 18px;
    color: #00276B;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pct-coach-addform {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 20px;
}
.pct-coach-addform > summary {
    cursor: pointer;
    color: #00276B;
    font-size: 15px;
    list-style: none;
}
.pct-coach-addform > summary::-webkit-details-marker { display: none; }
.pct-coach-addform[open] > summary { border-bottom: 1px solid #e2e8f0; padding-bottom: 10px; margin-bottom: 14px; }

.pct-match-form .pct-fe-row { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.pct-match-form .pct-fe-col { flex: 1; min-width: 140px; display: flex; flex-direction: column; gap: 4px; }
.pct-match-form label { display: block; margin-bottom: 10px; }
.pct-match-form input, .pct-match-form select, .pct-match-form textarea {
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    width: 100%;
    box-sizing: border-box;
}

.pct-match-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #003DA5;
    border-radius: 10px;
    margin-bottom: 12px;
    overflow: hidden;
}
.pct-match-card[open] { box-shadow: 0 2px 10px rgba(0,39,107,0.08); }
.pct-match-card.pct-match-cancelled { border-left-color: #dc2626; opacity: 0.75; }
.pct-match-card > summary {
    list-style: none;
    cursor: pointer;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}
.pct-match-card > summary::-webkit-details-marker { display: none; }
.pct-match-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}
.pct-match-type-badge.pct-match-oficial { background: #fef3c7; color: #854d0e; border: 1px solid #fcd34d; }
.pct-match-type-badge.pct-match-amical { background: #e0f2fe; color: #075985; border: 1px solid #7dd3fc; }
.pct-match-title { font-size: 15px; font-weight: 600; color: #1e293b; flex: 1; min-width: 200px; }
.pct-match-score-pill {
    background: #00276B;
    color: #FFC72C;
    padding: 4px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
}
.pct-match-when { color: #64748b; font-size: 13px; }
.pct-match-cancelled-tag {
    background: #dc2626;
    color: #fff;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}
.pct-match-body {
    padding: 14px 18px;
    border-top: 1px solid #e2e8f0;
    background: #fafbfc;
}
.pct-match-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    color: #475569;
    font-size: 14px;
    margin-bottom: 10px;
}
.pct-match-notes {
    background: #fef9c3;
    border-left: 3px solid #FFC72C;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.pct-match-lineup h4 { margin: 16px 0 10px; color: #00276B; font-size: 15px; }
.pct-lineup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 6px;
}
.pct-lineup-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    cursor: pointer;
    background: #fff;
    font-size: 14px;
}
.pct-lineup-item.pct-lineup-in {
    background: #dcfce7;
    border-color: #16a34a;
}
.pct-lineup-num {
    background: #00276B;
    color: #fff;
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.pct-match-score-form h4 { margin: 16px 0 10px; color: #00276B; font-size: 15px; }
.pct-score-entry {
    display: flex;
    align-items: center;
    gap: 14px;
    justify-content: center;
    margin: 14px 0;
    flex-wrap: wrap;
}
.pct-score-entry label { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pct-score-entry label span { font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: 0.3px; }
.pct-score-entry input {
    width: 70px;
    height: 60px;
    font-size: 32px;
    text-align: center;
    border: 2px solid #003DA5;
    border-radius: 8px;
    font-weight: 700;
    color: #00276B;
}
.pct-score-dash { font-size: 28px; color: #94a3b8; margin-top: 18px; }

.pct-match-actions-danger {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px dashed #fca5a5;
}
.pct-match-actions-danger > summary {
    color: #991b1b;
    cursor: pointer;
    font-size: 13px;
    list-style: none;
}
.pct-match-actions-danger > summary::-webkit-details-marker { display: none; }
.pct-match-actions-danger textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 13px;
    box-sizing: border-box;
}
.pct-fe-btn-danger {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}
.pct-fe-btn-danger:hover { background: #b91c1c; }
.pct-fe-btn-sm { padding: 6px 12px; font-size: 13px; }

/* Parent match card */
.pct-match-parent-card { margin-bottom: 14px; }
.pct-match-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.pct-match-head h3 { margin: 0; flex: 1; min-width: 180px; font-size: 16px; }
.pct-match-rsvp, .pct-match-outcome { margin-top: 12px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.pct-rsvp-status.pct-rsvp-present {
    background: #dcfce7;
    color: #166534;
    padding: 4px 12px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 13px;
}

/* Calendar horizon toggle */
.pct-calendar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding: 10px 14px;
    background: linear-gradient(90deg, rgba(255,199,44,0.08), rgba(0,39,107,0.03));
    border-radius: 8px;
    flex-wrap: wrap;
    gap: 10px;
}
.pct-calendar-horizon {
    font-weight: 600;
    color: #00276B;
    font-size: 14px;
}
.pct-calendar-kind-tag {
    display: inline-block;
    padding: 2px 10px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    margin-bottom: 6px;
}
.pct-calendar-event { border-left: 4px solid #003DA5; }

@media (max-width: 640px) {
    .pct-match-form .pct-fe-row { flex-direction: column; }
    .pct-match-form .pct-fe-col { min-width: 100%; }
    .pct-lineup-grid { grid-template-columns: 1fr; }
    .pct-score-entry input { width: 60px; height: 50px; font-size: 26px; }
    .pct-match-card > summary { flex-direction: column; align-items: flex-start; }
    .pct-match-title { font-size: 14px; }
}

/* v3.17 — Turnee */
.pct-tournament-card { border-left-color: #FFC72C; }
.pct-tournament-card[open] { box-shadow: 0 2px 10px rgba(255,199,44,0.15); }
.pct-tournament-match {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    margin-bottom: 8px;
    padding: 6px 12px;
}
.pct-tournament-match > summary {
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 4px 0;
}
.pct-tournament-match > summary::-webkit-details-marker { display: none; }
.pct-tournament-matches-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pct-tournament-match-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #f8fafc;
    border-radius: 6px;
    flex-wrap: wrap;
    font-size: 14px;
}
.pct-tm-when {
    min-width: 120px;
    color: #475569;
    font-weight: 600;
}
.pct-tm-teams { flex: 1; }
.pct-tm-pending {
    color: #94a3b8;
    font-style: italic;
    font-size: 13px;
}

/* v3.20 — Acte Club (Regulament + Inventar parent) */
.pct-reg-status-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}
.pct-status-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}
.pct-reg-acc-meta {
    color: #64748b;
    font-size: 13px;
    font-style: italic;
}
.pct-reg-text {
    background: #f8fafc;
    border-left: 4px solid #FFC72C;
    padding: 14px 18px;
    border-radius: 6px;
    line-height: 1.6;
    max-height: 400px;
    overflow-y: auto;
    font-size: 14px;
}
.pct-reg-text h1, .pct-reg-text h2, .pct-reg-text h3 { color: #00276B; margin: 14px 0 8px; }
.pct-reg-text p { margin: 0 0 10px; }
.pct-reg-text ul, .pct-reg-text ol { margin: 0 0 10px 20px; }

.pct-reg-actions {
    margin-top: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    flex-wrap: wrap;
}
.pct-reg-reject {
    background: #fef2f2;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    flex: 1;
    min-width: 260px;
}
.pct-reg-reject > summary {
    cursor: pointer;
    color: #991b1b;
    font-weight: 600;
    list-style: none;
}
.pct-reg-reject > summary::-webkit-details-marker { display: none; }

.pct-inv-parent-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.pct-inv-parent-table th {
    background: #00276B;
    color: #fff;
    padding: 8px 10px;
    text-align: left;
    font-weight: 600;
}
.pct-inv-parent-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e2e8f0;
}
.pct-inv-parent-table tr.pct-inv-returned td { opacity: 0.6; }

@media (max-width: 640px) {
    .pct-reg-actions { flex-direction: column; }
    .pct-inv-parent-table { font-size: 12px; }
    .pct-inv-parent-table th, .pct-inv-parent-table td { padding: 6px; }
}

/* v3.21 — Regulament forced-read modal */
body.pct-reg-modal-open { overflow: hidden; }
.pct-reg-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pct-reg-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 39, 107, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.pct-reg-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    overflow: hidden;
}
.pct-reg-modal-head {
    background: linear-gradient(135deg, #00276B 0%, #003DA5 100%);
    color: #fff;
    padding: 18px 24px;
    border-bottom: 4px solid #FFC72C;
}
.pct-reg-modal-head h2 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    font-family: Arial, sans-serif;
}
.pct-reg-modal-head small {
    color: #FFC72C;
    font-size: 12px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    font-weight: 700;
}
.pct-reg-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
    font-size: 14.5px;
    color: #1e293b;
}
.pct-reg-modal-body h1, .pct-reg-modal-body h2, .pct-reg-modal-body h3 { color: #00276B; margin: 16px 0 8px; }
.pct-reg-modal-body p { margin: 0 0 12px; }
.pct-reg-modal-body ul, .pct-reg-modal-body ol { margin: 0 0 12px 22px; }
.pct-reg-modal-pdf {
    padding: 10px 24px;
    background: #fef9c3;
    border-top: 1px solid #fde68a;
    font-size: 13px;
}
.pct-reg-modal-foot {
    padding: 16px 24px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.pct-reg-confirm-chk {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    color: #00276B;
    font-weight: 600;
}
.pct-reg-confirm-chk.pct-reg-chk-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    color: #64748b;
}
.pct-reg-confirm-chk.pct-reg-chk-disabled::after {
    content: "— derulează până la final pentru a confirma";
    font-weight: 400;
    font-style: italic;
    font-size: 12px;
    color: #94a3b8;
}
.pct-reg-confirm-chk input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #16a34a;
}
.pct-reg-modal-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.pct-reg-modal-actions button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.pct-reg-modal-actions .pct-fe-btn-link {
    color: #64748b;
    font-size: 13px;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .pct-reg-modal { padding: 10px; }
    .pct-reg-modal-head h2 { font-size: 16px; }
    .pct-reg-modal-body { font-size: 14px; padding: 14px 16px; }
    .pct-reg-modal-foot { padding: 12px 16px; }
    .pct-reg-modal-actions { width: 100%; justify-content: center; }
}

/* v3.22 — Contacte părinți pentru antrenor */
.pct-contacts-search-wrap { margin-bottom: 14px; }
.pct-contacts-search-wrap input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    background: #fff;
    box-sizing: border-box;
}
.pct-contacts-search-wrap input:focus { border-color: #003DA5; outline: none; box-shadow: 0 0 0 3px rgba(0,61,165,0.12); }

.pct-contacts-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pct-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #003DA5;
    border-radius: 10px;
    flex-wrap: wrap;
}
.pct-contact-main { flex: 1; min-width: 200px; }
.pct-contact-name {
    font-size: 16px;
    font-weight: 700;
    color: #00276B;
    margin-bottom: 4px;
}
.pct-contact-children {
    font-size: 13px;
    color: #475569;
    margin-bottom: 3px;
}
.pct-contact-email { font-size: 13px; color: #64748b; }
.pct-contact-email a { color: #003DA5; text-decoration: none; }
.pct-contact-actions { display: flex; align-items: center; gap: 10px; }
.pct-contact-call {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: #fff !important;
    border-radius: 10px;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(22,163,74,0.3);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
}
.pct-contact-call:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(22,163,74,0.4); }
.pct-contact-call strong { color: #fff; }
.pct-contact-no-phone { color: #94a3b8; font-style: italic; font-size: 13px; }

@media (max-width: 640px) {
    .pct-contact-card { flex-direction: column; align-items: stretch; }
    .pct-contact-actions { justify-content: stretch; }
    .pct-contact-call { justify-content: center; padding: 14px 20px; font-size: 16px; }
}

/* v3.24 — PWA install banner + modal */
.pct-pwa-banner {
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 99998;
    background: linear-gradient(135deg, #00276B 0%, #003DA5 100%);
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 39, 107, 0.4);
    border: 2px solid #FFC72C;
    animation: pct-pwa-slide-up 0.3s ease-out;
}
@keyframes pct-pwa-slide-up {
    from { transform: translateY(120%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pct-pwa-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    flex-wrap: wrap;
}
.pct-pwa-banner-icon { font-size: 26px; flex-shrink: 0; }
.pct-pwa-banner-text { flex: 1; min-width: 140px; }
.pct-pwa-banner-text strong { display: block; font-size: 14px; color: #fff; }
.pct-pwa-banner-text small { display: block; color: #FFC72C; font-size: 12px; margin-top: 2px; }
.pct-pwa-banner-actions { display: flex; align-items: center; gap: 6px; }
.pct-pwa-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #FFC72C;
    color: #00276B !important;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
}
.pct-pwa-btn-primary:hover { background: #fbb614; }
.pct-pwa-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}
.pct-pwa-btn-ghost:hover { background: rgba(255,255,255,0.15); }

.pct-pwa-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pct-pwa-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 39, 107, 0.75);
    backdrop-filter: blur(3px);
}
.pct-pwa-modal-box {
    position: relative;
    background: #fff;
    border-radius: 14px;
    max-width: 520px;
    width: 100%;
    padding: 24px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.pct-pwa-modal-box h2 { margin: 0 0 14px; color: #00276B; font-size: 18px; }
.pct-pwa-modal-box ol { margin: 0 0 14px 20px; line-height: 1.7; }
.pct-pwa-modal-box strong { color: #00276B; }

@media (max-width: 640px) {
    .pct-pwa-banner-inner { padding: 10px 12px; }
    .pct-pwa-banner-text strong { font-size: 13px; }
    .pct-pwa-btn-primary { padding: 8px 12px; font-size: 13px; }
}

/* v3.28 — Carpool RSVP */
.pct-carpool-wrap {
    margin-top: 14px;
    padding: 12px 14px;
    background: #f0f9ff;
    border: 1px solid #7dd3fc;
    border-radius: 10px;
}
.pct-carpool-wrap > summary {
    cursor: pointer;
    list-style: none;
    color: #003DA5;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.pct-carpool-wrap > summary::-webkit-details-marker { display: none; }
.pct-carpool-current {
    background: #dcfce7;
    color: #166534;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
}
.pct-carpool-form { margin-top: 14px; }
.pct-carpool-opts { display: flex; flex-direction: column; gap: 8px; }
.pct-carpool-opt {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    flex-wrap: wrap;
}
.pct-carpool-opt:hover { border-color: #003DA5; }
.pct-carpool-opt input[type="radio"]:checked ~ span,
.pct-carpool-opt:has(input[type="radio"]:checked) { border-color: #003DA5; background: #e0f2fe; }
.pct-carpool-opt input[type="number"], .pct-carpool-opt select { padding: 4px 8px; border: 1px solid #cbd5e1; border-radius: 6px; }
.pct-carpool-summary {
    margin-top: 12px;
    padding: 10px 12px;
    background: #fff;
    border-left: 3px solid #003DA5;
    border-radius: 4px;
    font-size: 13px;
    color: #475569;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.pct-carpool-summary strong { color: #00276B; }

/* v3.28.2 — Admin quick-access cards */
.pct-admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    margin-top: 16px;
}
.pct-admin-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #003DA5;
    border-radius: 10px;
    text-decoration: none !important;
    color: inherit;
    transition: all 0.15s ease;
}
.pct-admin-card:hover {
    border-left-color: #FFC72C;
    box-shadow: 0 4px 12px rgba(0,39,107,0.12);
    transform: translateY(-1px);
}
.pct-admin-card-icon {
    font-size: 30px;
    flex-shrink: 0;
}
.pct-admin-card-body { flex: 1; }
.pct-admin-card-body strong {
    display: block;
    color: #00276B;
    font-size: 15px;
    margin-bottom: 3px;
}
.pct-admin-card-body small {
    display: block;
    color: #64748b;
    font-size: 12.5px;
    line-height: 1.4;
}
.pct-admin-card-arrow {
    color: #cbd5e1;
    font-size: 24px;
    font-weight: 700;
    flex-shrink: 0;
    transition: transform 0.15s ease;
}
.pct-admin-card:hover .pct-admin-card-arrow {
    color: #003DA5;
    transform: translateX(3px);
}

/* v3.27 — Login error inline */
.pct-login-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 640px) {
    .pct-att-row { flex-direction: column; align-items: stretch; }
    .pct-att-btns { justify-content: space-around; }
    .pct-att-btn { flex: 1; }
    .pct-rate-btns {
        display: none;
        margin: 8px 0 0;
        padding: 8px 0 0;
        border-left: none;
        border-top: 1px dashed #cbd5e1;
        justify-content: center;
        gap: 14px;
    }
    .pct-att-row.pct-att-show-rate .pct-rate-btns { display: flex; }
    .pct-rate-btn { width: 44px; height: 44px; font-size: 20px; }
}

.pct-coach-team-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.pct-coach-team-actions .pct-fe-btn {
    flex: 1;
    min-width: 90px;
    text-align: center;
    font-size: 13px;
    padding: 8px 12px;
}

/* Quick Actions bar (v2.4) */
.pct-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 0 0 22px;
}
.pct-qa-btn {
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px 18px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
    font-family: inherit;
}
.pct-qa-btn:hover {
    border-color: #003DA5;
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.15);
    transform: translateY(-1px);
}
.pct-qa-btn .pct-qa-icon {
    font-size: 26px;
    margin-bottom: 4px;
}
.pct-qa-btn .pct-qa-label {
    color: #00276B;
    font-weight: 700;
    font-size: 15px;
}
.pct-qa-btn small { color: #64748b; font-size: 12px; }
.pct-qa-transfer { border-left: 5px solid #16a34a; }
/* v3.53.3: Stripe = CTA primar puternic. Selector cu specificitate mare ca să bată v3.53.1 white. */
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe,
.pct-quick-actions form button.pct-qa-btn.pct-qa-stripe {
    border: 0 !important;
    border-left: 0 !important;
    background: linear-gradient(135deg, #635bff 0%, #4f46e5 100%) !important;
    background-color: #635bff !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(99, 91, 255, 0.35) !important;
    position: relative;
    overflow: hidden;
    text-shadow: none !important;
}
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe::before {
    content: "";
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08));
    pointer-events: none;
}
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe .pct-qa-icon  { color: #fff !important; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe .pct-qa-label { color: #fff !important; text-shadow: 0 1px 1px rgba(0,0,0,0.15) !important; }
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe small         { color: rgba(255,255,255,0.92) !important; }
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(99, 91, 255, 0.5) !important;
    background: linear-gradient(135deg, #5145f5 0%, #4338ca 100%) !important;
    background-color: #5145f5 !important;
}
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe:active { transform: translateY(0); box-shadow: 0 2px 8px rgba(99, 91, 255, 0.3) !important; }
.pct-qa-absence  { border-left: 5px solid #f59e0b; }
@media (max-width: 640px) {
    .pct-quick-actions { grid-template-columns: 1fr; gap: 8px; }
}

/* Quick Action modals */
.pct-qa-modal {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 15, 40, 0.65);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    z-index: 10300;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.pct-qa-modal.open { display: flex; }
.pct-qa-modal-body {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    border-top: 5px solid #FFC72C;
}
.pct-qa-modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #e5e7eb;
}
.pct-qa-modal-head h3 { margin: 0; color: #00276B; font-size: 18px; }
.pct-qa-close {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 22px;
    color: #64748b;
    padding: 4px 8px;
    line-height: 1;
}
.pct-qa-close:hover { color: #00276B; }
.pct-qa-modal-body .pct-fe-form { padding: 20px; gap: 14px; }

/* Group badge on child card (v2.2) */
.pct-fe-child-team {
    display: inline-block;
    background: #003DA5;
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.3px;
}

/* Evaluation on parent dashboard (v2.1) */
.pct-eval-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-right: 8px;
}
.pct-eval-period {
    color: #64748b;
    font-size: 12px;
}
.pct-eval-comment {
    margin-top: 6px;
    padding: 6px 10px;
    background: #f8fafc;
    border-left: 3px solid #FFC72C;
    border-radius: 4px;
    font-style: italic;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
}
.pct-eval-msg {
    margin-top: 8px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    padding: 8px 12px;
    border-radius: 6px;
}
.pct-eval-msg summary {
    cursor: pointer;
    font-weight: 700;
    color: #003DA5;
    font-size: 13px;
    padding: 2px 0;
}
.pct-eval-msg[open] summary {
    margin-bottom: 8px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 8px;
}
.pct-eval-msg-text {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.5;
    color: #1e293b;
}
.pct-eval-audio {
    width: 100%;
    margin-top: 4px;
}

/* Activation wizard */
.pct-fe-activate h3 {
    background: linear-gradient(90deg, #FFF4D1 0%, transparent 100%);
    padding: 8px 12px;
    border-left: 4px solid #FFC72C;
    border-bottom: none;
    border-radius: 4px;
}
.pct-fe-children-list {
    background: #f8fafc;
    padding: 14px 18px;
    border-left: 4px solid #003DA5;
    border-radius: 0 6px 6px 0;
    margin: 10px 0;
    list-style: none;
}
.pct-fe-children-list li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
}
.pct-fe-children-list li:last-child { border-bottom: none; }
.pct-fe-form small {
    color: #64748b;
    font-weight: normal;
    font-size: 12px;
    margin-top: 2px;
}

/* Add child details (dashboard) */
.pct-fe-add-child {
    margin-top: 24px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    padding: 14px 18px;
    border-radius: 8px;
}
.pct-fe-add-child summary {
    cursor: pointer;
    font-weight: 700;
    color: #003DA5;
    font-size: 15px;
    padding: 6px 0;
}
.pct-fe-add-child[open] summary {
    margin-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 12px;
}

/* Info box variant */
.pct-fe-info {
    border-top-color: #FFC72C;
}
.pct-fe-info ol {
    margin: 10px 0 0 20px;
    padding: 0;
}
.pct-fe-info ol li {
    padding: 4px 0;
}

/* Mobile */
@media (max-width: 640px) {
    .pct-fe-box { margin: 20px 10px; padding: 22px 18px; border-radius: 8px; }
    .pct-fe-box h2 { font-size: 22px; }
    .pct-fe-row { grid-template-columns: 1fr; }
    .pct-fe-stats { grid-template-columns: 1fr; }
    .pct-fe-submit, .pct-fe-btn, .pct-fe-btn-primary { width: 100%; text-align: center; }
    .pct-fe-actions { flex-direction: column; }
}

/* ================================================================
 *  v3.32 — Confirmări RSVP pe cardul antrenorului
 * ================================================================ */
.pct-rsvp-box {
    margin-top: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}
.pct-rsvp-box > summary {
    list-style: none;
    cursor: pointer;
    padding: 12px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}
.pct-rsvp-box > summary::-webkit-details-marker { display: none; }
.pct-rsvp-box > summary::before {
    content: '▸';
    color: #64748b;
    margin-right: 6px;
    transition: transform .15s;
    display: inline-block;
}
.pct-rsvp-box[open] > summary::before { transform: rotate(90deg); }
.pct-rsvp-summary-badges {
    display: inline-flex;
    gap: 6px;
    flex-wrap: wrap;
}
.pct-rsvp-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    min-width: 32px;
    text-align: center;
}
.pct-rsvp-b-ok { background: #dcfce7; color: #15803d; }
.pct-rsvp-b-no { background: #fee2e2; color: #b91c1c; }
.pct-rsvp-b-q  { background: #fef3c7; color: #a16207; }
.pct-rsvp-body {
    padding: 0 14px 14px;
    border-top: 1px dashed #e2e8f0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 14px;
}
.pct-rsvp-col {
    padding: 12px;
    background: #fff;
    border-radius: 6px;
    border-left: 3px solid #15803d;
}
.pct-rsvp-col-no { border-left-color: #b91c1c; }
.pct-rsvp-col-q  { border-left-color: #a16207; }
.pct-rsvp-col h5 {
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}
.pct-rsvp-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}
.pct-rsvp-col li {
    padding: 4px 0;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px dashed #f1f5f9;
}
.pct-rsvp-col li:last-child { border-bottom: 0; }
.pct-rsvp-p-name { font-weight: 600; }
.pct-rsvp-sub {
    color: #64748b;
    font-size: 11px;
    margin-left: 4px;
}
.pct-rsvp-carpool {
    grid-column: 1 / -1;
    padding: 8px 12px;
    background: #eff6ff;
    border-radius: 6px;
    font-size: 13px;
    color: #1e3a8a;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* ================================================================
 *  v3.31 — Resurse (bibliotecă educațională)
 * ================================================================ */
.pct-res-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 18px;
}
.pct-res-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 999px;
    color: #334155;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    transition: all .15s ease;
}
.pct-res-pill:hover {
    border-color: #003DA5;
    color: #003DA5;
    background: #f0f7ff;
}
.pct-res-pill.is-active {
    background: #003DA5;
    color: #fff;
    border-color: #003DA5;
}
.pct-res-pill-count {
    display: inline-block;
    min-width: 20px;
    padding: 1px 7px;
    background: rgba(0, 61, 165, .12);
    color: #003DA5;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    text-align: center;
}
.pct-res-pill.is-active .pct-res-pill-count {
    background: rgba(255, 255, 255, .25);
    color: #fff;
}
.pct-res-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 20px;
}
.pct-res-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 16px 16px 14px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #94a3b8;
    border-radius: 10px;
    text-decoration: none !important;
    color: #0f172a;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.pct-res-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 61, 165, .12);
    border-left-color: #003DA5;
}
.pct-res-card.is-viewed {
    opacity: .75;
}
.pct-res-card.is-viewed:hover {
    opacity: 1;
}
.pct-res-type-pdf    { border-left-color: #dc2626; }
.pct-res-type-image  { border-left-color: #db2777; }
.pct-res-type-video  { border-left-color: #ea580c; }
.pct-res-type-text   { border-left-color: #0891b2; }
.pct-res-type-link   { border-left-color: #059669; }
.pct-res-image-wrap { text-align: center; margin: 14px 0; }
.pct-res-image-wrap img { max-width: 100%; height: auto; border-radius: 8px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
.pct-res-card-top {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.pct-res-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .02em;
}
.pct-res-badge-type {
    background: #f1f5f9;
    color: #475569;
}
.pct-res-badge-new {
    background: #FFC72C;
    color: #1e293b;
    animation: pct-pulse-new 1.6s ease-in-out infinite;
}
@keyframes pct-pulse-new {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.06); }
}
.pct-res-badge-viewed {
    background: #dcfce7;
    color: #15803d;
}
.pct-res-card-cat {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 500;
}
.pct-res-card-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}
.pct-res-card-summary {
    margin: 0 0 12px;
    font-size: 13px;
    color: #475569;
    line-height: 1.45;
    flex-grow: 1;
}
.pct-res-card-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #94a3b8;
    padding-top: 10px;
    border-top: 1px dashed #e2e8f0;
}
.pct-res-card-arrow {
    color: #003DA5;
    font-weight: 700;
    font-size: 16px;
}

/* Inline reader */
.pct-res-reader {
    margin-top: 24px;
    padding: 24px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .06);
}
.pct-res-reader-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 2px solid #FFC72C;
}
.pct-res-reader-close {
    font-size: 14px;
    font-weight: 600;
    color: #003DA5;
    text-decoration: none !important;
}
.pct-res-reader-close:hover { text-decoration: underline !important; }
.pct-res-reader-cat {
    font-size: 13px;
    color: #64748b;
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 999px;
}
.pct-res-reader-title {
    margin: 0 0 8px;
    font-size: 24px;
    color: #003DA5;
    line-height: 1.25;
}
.pct-res-reader-summary {
    font-size: 15px;
    color: #475569;
    margin: 0 0 18px;
    font-style: italic;
}
.pct-res-reader-body {
    font-size: 15px;
    line-height: 1.6;
    color: #1e293b;
}
.pct-res-reader-body h2,
.pct-res-reader-body h3 {
    color: #003DA5;
    margin-top: 18px;
}
.pct-res-reader-body ul,
.pct-res-reader-body ol {
    margin: 10px 0 10px 22px;
}
.pct-res-reader-body img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.pct-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    margin: 14px 0;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}
.pct-video-embed iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
@media (max-width: 640px) {
    .pct-res-grid { grid-template-columns: 1fr; }
    .pct-res-reader { padding: 18px 14px; margin-left: -4px; margin-right: -4px; }
    .pct-res-reader-title { font-size: 20px; }
}

/* v3.51.4: Istoric plăți — pe mobil fiecare rând devine cartonaș vertical */
.pct-fe-table-scroll { margin-bottom: 12px; }
.pct-fe-table-scroll .pct-fe-table { width: 100%; border-collapse: collapse; }
.pct-fe-table-scroll .pct-fe-table th,
.pct-fe-table-scroll .pct-fe-table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
    vertical-align: top;
}
.pct-fe-table-scroll .pct-fe-table thead th {
    background: #f1f5f9;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
}
@media (max-width: 640px) {
    .pct-fe-table-scroll .pct-fe-table thead { display: none; }
    .pct-fe-table-scroll .pct-fe-table,
    .pct-fe-table-scroll .pct-fe-table tbody,
    .pct-fe-table-scroll .pct-fe-table tr,
    .pct-fe-table-scroll .pct-fe-table td {
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .pct-fe-table-scroll .pct-fe-table tr {
        background: #fff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        padding: 8px 4px;
        margin-bottom: 10px;
    }
    .pct-fe-table-scroll .pct-fe-table td {
        border: 0;
        padding: 6px 12px;
        text-align: left;
        word-wrap: break-word;
    }
    .pct-fe-table-scroll .pct-fe-table td::before {
        content: attr(data-label) ":";
        display: inline-block;
        font-weight: 700;
        color: #64748b;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        min-width: 80px;
        margin-right: 8px;
    }
    .pct-fe-table-scroll .pct-fe-table td[data-label="Detalii"] {
        background: #f8fafc;
        margin-top: 4px;
        border-top: 1px dashed #e2e8f0;
    }
}

/* === v3.53: Evaluare obiectivă pe card copil === */
.pct-obj-eval {
    margin-top: 14px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #86efac;
    border-radius: 10px;
    padding: 14px;
}
.pct-obj-eval-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.pct-obj-eval-head h4 {
    margin: 0;
    color: #00276B;
    font-size: 15px;
}
.pct-obj-eval-head h4 small {
    font-weight: 400;
    color: #64748b;
}
.pct-obj-eval-overall {
    background: #003DA5;
    color: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    text-align: center;
}
.pct-obj-eval-score {
    font-size: 22px;
    font-weight: 800;
}
.pct-obj-eval-overall small {
    display: block;
    font-size: 10px;
    opacity: 0.9;
}
.pct-obj-eval-grid {
    display: grid;
    gap: 6px;
}
.pct-obj-eval-row {
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    border: 1px solid #d1fae5;
}
.pct-obj-eval-row-label {
    font-size: 12px;
    color: #1e293b;
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
}
.pct-obj-eval-row-label strong {
    color: #003DA5;
    font-size: 13px;
}
.pct-obj-eval-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}
.pct-obj-eval-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #FFC72C, #003DA5);
    border-radius: 3px;
    transition: width 0.6s ease;
}
.pct-obj-eval-note {
    margin: 10px 0 0;
    font-size: 11px;
    color: #64748b;
    font-style: italic;
}

/* === v3.53.1: fix tema Campo strica butoanele Quick Actions === */
.pct-quick-actions form { display: block; margin: 0; padding: 0; background: transparent !important; border: 0 !important; }
.pct-quick-actions input[type="hidden"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    position: absolute !important;
    left: -99999px !important;
}
.pct-quick-actions button.pct-qa-btn {
    background: #fff !important;
    color: inherit !important;
    text-shadow: none !important;
    box-shadow: none !important;
}
.pct-quick-actions button.pct-qa-btn:hover {
    box-shadow: 0 2px 8px rgba(0, 61, 165, 0.15) !important;
}
/* Stripe button is overridden in the .pct-qa-stripe block below to be solid purple CTA */

/* === v3.54: RSVP turnee === */
.pct-tour-rsvp-box {
    margin-top: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #003DA5;
    border-radius: 8px;
    padding: 14px 16px;
}
.pct-tour-rsvp-box > strong {
    display: block;
    font-size: 14px;
    color: #00276B;
    margin-bottom: 10px;
}
.pct-tour-rsvp-current {
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}
.pct-tour-rsvp-current.pct-tour-rsvp-yes { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.pct-tour-rsvp-current.pct-tour-rsvp-no { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.pct-tour-rsvp-current.pct-tour-rsvp-maybe { background: #fef3c7; color: #92400e; border: 1px solid #fde68a; }
.pct-tour-rsvp-current small { font-weight: 400; opacity: 0.8; }
.pct-tour-rsvp-note-display {
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    border: 1px dashed #cbd5e1;
    margin-bottom: 8px;
    font-size: 13px;
    color: #475569;
}
.pct-tour-rsvp-btns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 6px;
}
.pct-tour-btn {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 700;
    font-size: 13px;
    transition: all 0.15s;
    color: #1e293b;
}
.pct-tour-btn:hover { transform: translateY(-1px); box-shadow: 0 2px 6px rgba(0,0,0,0.1); }
.pct-tour-btn-yes:hover, .pct-tour-btn-yes.is-active { background: #15803d; color: #fff; border-color: #166534; }
.pct-tour-btn-no:hover, .pct-tour-btn-no.is-active { background: #dc2626; color: #fff; border-color: #b91c1c; }
.pct-tour-btn-maybe:hover, .pct-tour-btn-maybe.is-active { background: #f59e0b; color: #fff; border-color: #d97706; }
.pct-tour-rsvp-note-wrap {
    margin-top: 10px;
}
.pct-tour-rsvp-note-wrap > summary {
    cursor: pointer;
    font-size: 12px;
    color: #475569;
    padding: 4px 0;
}
.pct-tour-rsvp-note-wrap textarea {
    width: 100%;
    margin-top: 6px;
    padding: 6px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
    resize: vertical;
}

@media (max-width: 540px) {
    .pct-tour-rsvp-btns { grid-template-columns: 1fr; }
}

/* Coach view: RSVP summary */
.pct-tour-rsvp-summary {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #cbd5e1;
    border-left: 4px solid #003DA5;
    border-radius: 8px;
    padding: 14px 16px;
    margin: 12px 0 18px;
}
.pct-tour-rsvp-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.pct-tour-rsvp-head strong { font-size: 14px; color: #00276B; }
.pct-tour-rsvp-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}
.pct-tour-rsvp-stat {
    background: #fff;
    padding: 10px 8px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid #e2e8f0;
}
.pct-tour-stat-num {
    display: block;
    font-size: 28px;
    font-weight: 800;
    line-height: 1;
}
.pct-tour-stat-label {
    display: block;
    font-size: 11px;
    color: #64748b;
    margin-top: 4px;
    font-weight: 600;
}
.pct-tour-stat-yes { border-color: #86efac; background: #f0fdf4; }
.pct-tour-stat-yes .pct-tour-stat-num { color: #15803d; }
.pct-tour-stat-maybe { border-color: #fde68a; background: #fefce8; }
.pct-tour-stat-maybe .pct-tour-stat-num { color: #92400e; }
.pct-tour-stat-no { border-color: #fca5a5; background: #fef2f2; }
.pct-tour-stat-no .pct-tour-stat-num { color: #991b1b; }
.pct-tour-stat-pending { border-color: #cbd5e1; background: #f8fafc; }
.pct-tour-stat-pending .pct-tour-stat-num { color: #64748b; }

.pct-tour-rsvp-detail { margin-top: 6px; }
.pct-tour-rsvp-detail > summary {
    cursor: pointer;
    padding: 6px 0;
    font-size: 13px;
    color: #003DA5;
    font-weight: 600;
}
.pct-tour-rsvp-lists { display: grid; gap: 12px; margin-top: 8px; }
.pct-tour-list h5 {
    margin: 0 0 6px;
    font-size: 13px;
    color: #1e293b;
}
.pct-tour-list ul { margin: 0; padding: 0; list-style: none; }
.pct-tour-list li {
    background: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    margin-bottom: 4px;
    border-left: 3px solid #cbd5e1;
    font-size: 13px;
}
.pct-tour-list-yes li { border-left-color: #15803d; }
.pct-tour-list-maybe li { border-left-color: #f59e0b; }
.pct-tour-list-no li { border-left-color: #dc2626; }
.pct-tour-list-pending li { border-left-color: #94a3b8; }
.pct-tour-list-note {
    margin-top: 4px;
    padding: 4px 8px;
    background: #f1f5f9;
    border-radius: 3px;
    font-size: 11px;
    color: #475569;
    font-style: italic;
}

@media (max-width: 640px) {
    .pct-tour-rsvp-stats { grid-template-columns: repeat(2, 1fr); }
}

/* === v3.55: PWA polish === */
/* Offline indicator bar */
.pct-pwa-offline-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #f59e0b;
    color: #78350f;
    padding: 10px 16px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    z-index: 99998;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* Update available bar */
.pct-pwa-update-bar {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 420px;
    margin: 0 auto;
    background: #003DA5;
    color: #fff;
    padding: 14px 18px;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    z-index: 99997;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    font-size: 13px;
    font-weight: 600;
}
.pct-pwa-update-btn {
    background: #FFC72C;
    color: #00276B;
    border: 0;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    font-size: 13px;
    white-space: nowrap;
}
.pct-pwa-update-btn:hover { background: #e5b025; }

/* PWA standalone mode: hide WordPress chrome, polish for app feel */
body.pct-pwa-standalone #wpadminbar { display: none !important; }
body.pct-pwa-standalone { padding-top: 0 !important; margin-top: 0 !important; }
body.pct-pwa-standalone .pct-portal-header {
    /* Safe area for iPhone notch */
    padding-top: env(safe-area-inset-top, 0) !important;
}
body.pct-pwa-standalone .pct-fe-portal {
    /* Push content below the iOS status bar */
    padding-top: max(env(safe-area-inset-top, 0), 0) !important;
}
/* Bottom safe area for iPhone home indicator */
body.pct-pwa-standalone .pct-fe-portal,
body.pct-pwa-standalone main {
    padding-bottom: env(safe-area-inset-bottom, 0);
}
/* Hide WP footer / theme footer in standalone */
body.pct-pwa-standalone .site-footer,
body.pct-pwa-standalone footer.site-footer,
body.pct-pwa-standalone #colophon { display: none !important; }

/* === v3.56: Push notifications subscribe banner === */
.pct-push-banner {
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    max-width: 480px;
    margin: 0 auto;
    background: linear-gradient(135deg, #FFC72C, #f59e0b);
    color: #00276B;
    border-radius: 12px;
    z-index: 99996;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25);
    padding: 14px 16px;
    animation: pct-push-slide-up 0.35s ease-out;
}
@keyframes pct-push-slide-up {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.pct-push-banner-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pct-push-icon {
    font-size: 32px;
    flex-shrink: 0;
}
.pct-push-text {
    flex: 1;
    min-width: 0;
}
.pct-push-text strong {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: #00276B;
    margin-bottom: 2px;
}
.pct-push-text small {
    display: block;
    font-size: 12px;
    color: #1e3a8a;
    line-height: 1.3;
}
.pct-push-actions {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-shrink: 0;
}
.pct-push-btn-primary {
    background: #00276B;
    color: #FFC72C;
    border: 0;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}
.pct-push-btn-primary:hover { background: #003DA5; }
.pct-push-btn-primary:disabled { opacity: 0.6; cursor: wait; }
.pct-push-btn-ghost {
    background: transparent;
    color: #00276B;
    border: 0;
    padding: 8px;
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}
@media (max-width: 480px) {
    .pct-push-banner-inner { flex-wrap: wrap; }
    .pct-push-text { min-width: 60%; }
    .pct-push-actions { width: 100%; justify-content: flex-end; margin-top: 8px; }
}

/* === v3.56.4: fix-uri ============== */

/* Buton reminder turneu — text alb pe navy solid, vizibil */
.pct-tour-reminder-btn {
    display: block !important;
    width: 100% !important;
    background: #003DA5 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-shadow: none !important;
    box-shadow: 0 2px 8px rgba(0, 39, 107, 0.25) !important;
    margin: 8px 0 0 !important;
    line-height: 1.4 !important;
}
.pct-tour-reminder-btn:hover {
    background: #00276B !important;
    box-shadow: 0 4px 12px rgba(0, 39, 107, 0.35) !important;
}

/* Carpool box pe RSVP părinte */
.pct-tour-cp-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 14px;
    margin: 10px 0;
}
.pct-tour-cp-box > strong {
    display: block;
    font-size: 14px;
    color: #92400e;
    margin-bottom: 10px;
}
.pct-tour-cp-options {
    display: grid;
    gap: 6px;
    margin-bottom: 10px;
}
.pct-tour-cp-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #fde68a;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}
.pct-tour-cp-opt:has(input:checked) {
    background: #fef3c7;
    border-color: #f59e0b;
    border-width: 2px;
}
.pct-tour-cp-opt input { margin: 0; flex-shrink: 0; }
.pct-tour-cp-seats {
    background: #fff;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px dashed #fde68a;
}
.pct-tour-cp-seats label {
    display: flex;
    align-items: center;
    gap: 10px;
}
.pct-tour-cp-seats small {
    flex: 1;
    color: #92400e;
    font-weight: 600;
}
.pct-tour-cp-seats input {
    width: 70px !important;
    padding: 6px 8px !important;
    border: 1px solid #fde68a !important;
    border-radius: 4px !important;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
}
.pct-tour-cp-hint {
    display: block !important;
    margin-top: 6px;
    color: #92400e;
    font-size: 11px;
    font-style: italic;
    font-weight: 400 !important;
}

/* Carpool summary pe panoul antrenor */
.pct-tour-cp-summary {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-left: 4px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0;
}
.pct-tour-cp-summary > strong {
    display: block;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 8px;
}
.pct-tour-cp-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pct-tour-cp-stats > span {
    background: #fff;
    padding: 6px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
    border: 1px solid #fde68a;
}
.pct-tour-cp-stat-yes { color: #15803d !important; border-color: #86efac !important; }
.pct-tour-cp-stat-seats { color: #003DA5 !important; border-color: #93c5fd !important; }
.pct-tour-cp-stat-need { color: #b91c1c !important; border-color: #fca5a5 !important; }
.pct-tour-cp-warn {
    background: #fee2e2;
    color: #b91c1c;
    padding: 8px 12px;
    border-radius: 6px;
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 600;
}
.pct-tour-cp-ok {
    color: #15803d;
    font-size: 12px;
    font-weight: 600;
    margin: 8px 0 0;
}

/* Carpool tag in detailed list */
.pct-tour-list-cp {
    margin-top: 4px;
    padding: 3px 8px;
    background: #fef3c7;
    color: #92400e;
    border-radius: 3px;
    font-size: 11px;
    display: inline-block;
    font-weight: 600;
}

/* === v3.56.4: Stripe button width = full width identic cu transfer === */
.pct-quick-actions form {
    display: block !important;
    width: 100% !important;
}
.pct-quick-actions form button.pct-qa-stripe,
.pct-quick-actions button.pct-qa-btn.pct-qa-stripe {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    min-height: 86px !important;
    padding: 16px 18px !important;
    text-align: left !important;
    align-items: flex-start !important;
    box-sizing: border-box !important;
}

/* === v3.56.5: buton Salvează pentru RSVP turneu (transport + notă) === */
.pct-tour-save-btn {
    display: block !important;
    width: 100% !important;
    background: #003DA5 !important;
    color: #fff !important;
    border: 0 !important;
    padding: 14px 18px !important;
    border-radius: 10px !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    margin-top: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 39, 107, 0.25) !important;
    text-shadow: none !important;
    line-height: 1.4 !important;
}
.pct-tour-save-btn:hover {
    background: #00276B !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0, 39, 107, 0.35) !important;
}
.pct-tour-save-btn:active {
    transform: translateY(0);
}

/* === v3.58: pauza abonament === */
.pct-pause-badge {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-left: 5px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 14px;
    margin: 10px 0;
    color: #78350f;
    font-size: 13px;
}
.pct-pause-badge strong { display: block; font-size: 14px; color: #92400e; margin-bottom: 4px; }
.pct-pause-badge small { color: #78350f; font-size: 12px; }

/* Badge inline pentru liste antrenor */
.pct-inline-paused-badge {
    display: inline-block;
    background: #f59e0b;
    color: #fff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* === v3.59: masuri echipament === */
.pct-sizes-box {
    margin-top: 14px;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border: 1px solid #cbd5e1;
    border-left: 5px solid #003DA5;
    border-radius: 10px;
    padding: 14px 16px;
}
.pct-sizes-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 8px;
}
.pct-sizes-head strong { font-size: 15px; color: #00276B; }
.pct-sizes-guide-btn {
    background: #FFC72C;
    color: #00276B;
    border: 0;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}
.pct-sizes-guide-btn:hover { background: #e5b025; }
.pct-sizes-ok {
    background: #dcfce7;
    color: #15803d;
    padding: 6px 10px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 8px;
    font-weight: 700;
}
.pct-sizes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
.pct-sizes-grid label,
.pct-sizes-note {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #475569;
}
.pct-sizes-grid label span,
.pct-sizes-note span {
    font-weight: 600;
    color: #1e293b;
}
.pct-sizes-grid select,
.pct-sizes-grid input[type="number"],
.pct-sizes-note input {
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    font-family: inherit;
}
.pct-sizes-note { margin-bottom: 10px; }
.pct-sizes-save-btn {
    background: #003DA5;
    color: #fff;
    border: 0;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}
.pct-sizes-save-btn:hover { background: #00276B; }
.pct-sizes-updated {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 11px;
    font-style: italic;
}

.pct-sizes-guide {
    display: none;
    margin-top: 12px;
    background: #fff;
    border: 2px solid #FFC72C;
    border-radius: 8px;
    padding: 14px 16px;
}
.pct-sizes-guide.open { display: block; }
.pct-sizes-guide h4 { margin: 0 0 8px; color: #00276B; }
.pct-sizes-guide table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-size: 13px;
}
.pct-sizes-guide th,
.pct-sizes-guide td {
    padding: 6px 10px;
    border-bottom: 1px solid #e2e8f0;
    text-align: left;
}
.pct-sizes-guide th {
    background: #003DA5;
    color: #fff;
    font-weight: 700;
}
.pct-sizes-guide tr:nth-child(even) td { background: #f8fafc; }
.pct-sizes-guide-close {
    background: #64748b;
    color: #fff;
    border: 0;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    margin-top: 10px;
}

/* === v3.60: counter Prezenți/Absenți pe cardurile de antrenament === */
.pct-train-counters {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 12px 0;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 8px;
    border-left: 4px solid #003DA5;
}
.pct-train-counter {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    background: #fff;
    border: 1px solid #cbd5e1;
}
.pct-train-counter strong {
    font-size: 18px;
    font-weight: 800;
    line-height: 1;
}
.pct-train-counter-present {
    background: #dcfce7;
    color: #15803d;
    border-color: #86efac;
}
.pct-train-counter-present strong { color: #15803d; }
.pct-train-counter-absent {
    background: #fee2e2;
    color: #b91c1c;
    border-color: #fca5a5;
}
.pct-train-counter-absent strong { color: #b91c1c; }
.pct-train-counter-total {
    background: #f1f5f9;
    color: #475569;
    border-color: #cbd5e1;
}
.pct-train-counter-total strong { color: #003DA5; }

@media (max-width: 520px) {
    .pct-train-counters { flex-direction: column; align-items: stretch; }
    .pct-train-counter { justify-content: space-between; }
}

/* === v3.61: bife „Am primit" + nr tricou === */
.pct-sizes-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}
.pct-sizes-item > label:first-child { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.pct-sizes-check {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: #f0fdf4;
    border: 1px solid #86efac;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    color: #15803d;
    font-weight: 600;
}
.pct-sizes-check:has(input:checked) {
    background: #16a34a;
    color: #fff;
    border-color: #15803d;
}
.pct-sizes-check input { margin: 0; }
.pct-sizes-shirt-nr {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 1px solid #f59e0b;
    border-radius: 8px;
    margin-bottom: 10px;
}
.pct-sizes-shirt-nr span { font-weight: 700 !important; color: #78350f !important; }
.pct-sizes-shirt-nr input {
    padding: 10px 12px;
    border: 2px solid #f59e0b !important;
    border-radius: 6px;
    font-size: 20px !important;
    font-weight: 800;
    text-align: center;
    background: #fff;
    max-width: 120px;
    color: #78350f;
}

/* ============================================
 * v3.61.1 - Self-declaration inventory form (Acte Club)
 * ============================================ */
.pct-inv-intro {
    background: #eff6ff;
    border-left: 4px solid #003DA5;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 6px 0 16px;
    color: #1e3a8a;
    line-height: 1.5;
    font-size: 14px;
}
.pct-inv-selfdecl {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px;
    margin: 8px 0 4px;
}
.pct-inv-form p {
    margin: 0 0 12px;
    color: #00276B;
    line-height: 1.5;
}
.pct-inv-form p strong { color: #003DA5; }
.pct-inv-checks {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}
.pct-inv-check {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #fff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
    line-height: 1.4;
}
.pct-inv-check:hover { border-color: #003DA5; background: #f0f7ff; }
.pct-inv-check input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: #003DA5;
    cursor: pointer;
    flex-shrink: 0;
}
.pct-inv-check input[type="checkbox"]:checked + span {
    color: #00276B;
}
.pct-inv-check span { color: #334155; }
.pct-inv-check strong { color: #00276B; }
.pct-inv-check small { color: #64748b; font-weight: 400; }
.pct-inv-check em {
    color: #003DA5;
    background: #dbeafe;
    padding: 2px 6px;
    border-radius: 4px;
    font-style: normal;
    font-size: 12px;
}
.pct-inv-shirt-nr {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}
.pct-inv-shirt-nr span {
    color: #78350f;
    font-weight: 600;
    flex: 1;
    min-width: 200px;
    font-size: 14px;
    line-height: 1.4;
}
.pct-inv-shirt-nr strong { color: #78350f; font-weight: 800; }
.pct-inv-shirt-nr small { color: #92400e; font-weight: 500; }
.pct-inv-shirt-nr input {
    padding: 10px 12px;
    border: 2px solid #f59e0b;
    border-radius: 6px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    background: #fff;
    max-width: 100px;
    color: #78350f;
}
.pct-inv-save-btn {
    background: #003DA5 !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    width: 100%;
    transition: background 0.15s;
}
.pct-inv-save-btn:hover { background: #00276B !important; }

/* ============================================
 * v3.62 - Viză medicală (Acte Club)
 * ============================================ */
.pct-med-intro-note {
    background: #eff6ff;
    border-left: 4px solid #003DA5;
    padding: 10px 14px;
    border-radius: 6px;
    margin: 6px 0 16px;
    color: #1e3a8a;
    line-height: 1.5;
    font-size: 14px;
}
.pct-medical-visa {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px;
    margin: 8px 0 4px;
}
.pct-medical-visa.pct-med-valid    { border-color: #16a34a; background: #f0fdf4; }
.pct-medical-visa.pct-med-warning  { border-color: #f59e0b; background: #fffbeb; }
.pct-medical-visa.pct-med-expired  { border-color: #dc2626; background: #fef2f2; }
.pct-medical-visa.pct-med-none     { border-color: #94a3b8; background: #f1f5f9; }

.pct-med-ok {
    background: #dcfce7;
    border: 1px solid #16a34a;
    color: #14532d;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
}
.pct-med-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 12px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.06);
}
.pct-med-icon { font-size: 24px; line-height: 1; }
.pct-med-badge {
    font-weight: 700;
    font-size: 15px;
    color: #00276B;
}
.pct-med-valid    .pct-med-badge { color: #14532d; }
.pct-med-warning  .pct-med-badge { color: #78350f; }
.pct-med-expired  .pct-med-badge { color: #7f1d1d; }
.pct-med-none     .pct-med-badge { color: #334155; }

.pct-med-info {
    background: #fff;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.7;
    color: #334155;
}
.pct-med-info strong { color: #00276B; }
.pct-med-info a { color: #003DA5; font-weight: 600; text-decoration: none; }
.pct-med-info a:hover { text-decoration: underline; }

.pct-med-form .pct-med-intro {
    margin: 0 0 12px;
    color: #475569;
    line-height: 1.5;
    font-size: 13px;
}
.pct-med-form .pct-med-intro strong { color: #003DA5; }

.pct-med-field {
    display: block;
    margin-bottom: 12px;
    background: #fff;
    padding: 10px 12px;
    border: 1.5px solid #e5e7eb;
    border-radius: 8px;
}
.pct-med-field > span {
    display: block;
    font-weight: 600;
    color: #00276B;
    font-size: 13px;
    margin-bottom: 6px;
}
.pct-med-field > span small { color: #64748b; font-weight: 400; }
.pct-med-field input[type="date"],
.pct-med-field input[type="file"] {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 15px;
    background: #fff;
    color: #00276B;
    box-sizing: border-box;
}
.pct-med-field input[type="date"]:focus,
.pct-med-field input[type="file"]:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-med-save-btn {
    background: #003DA5;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}
.pct-med-save-btn:hover { background: #00276B; }

.pct-med-mini {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    vertical-align: middle;
}

/* v3.63.1 - Card viză medicală în Quick Actions (Acasă) */
.pct-qa-medical {
    text-decoration: none !important;
    border-left: 4px solid #94a3b8 !important;
    color: inherit !important;
    background: #fff;
}
.pct-qa-medical:hover { transform: translateY(-1px); }
.pct-qa-med-valid    { border-left-color: #16a34a !important; }
.pct-qa-med-warning  { border-left-color: #f59e0b !important; background: #fffbeb !important; }
.pct-qa-med-expired  { border-left-color: #dc2626 !important; background: #fef2f2 !important; }
.pct-qa-med-none     { border-left-color: #94a3b8 !important; background: #f8fafc !important; }
.pct-qa-med-expired .pct-qa-label { color: #991b1b !important; }
.pct-qa-med-warning .pct-qa-label { color: #78350f !important; }
.pct-qa-med-valid   .pct-qa-label { color: #14532d !important; }
.pct-qa-med-none    .pct-qa-label { color: #00276B !important; }

/* v3.64.1 - Badge-uri eligibility în lineup meci (viza + legitimare) */
.pct-lineup-badges {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-top: 4px;
    width: 100%;
}
.pct-lp-badge {
    display: inline-block;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2px;
    line-height: 1.4;
    white-space: nowrap;
}
.pct-lp-med-valid   { background: #dcfce7; color: #166534; }
.pct-lp-med-warning { background: #fef3c7; color: #78350f; }
.pct-lp-med-expired { background: #fee2e2; color: #991b1b; }
.pct-lp-med-none    { background: #f1f5f9; color: #475569; }
.pct-lp-legit-yes   { background: #dbeafe; color: #003DA5; }
.pct-lp-legit-no    { background: #fee2e2; color: #991b1b; }
.pct-lineup-item.pct-lineup-issues {
    border-left: 3px solid #f59e0b;
    background: #fffdf7;
}
.pct-lineup-item.pct-lineup-issues.pct-lineup-in {
    background: #fef3c7;
}

/* v3.65.0 - Card comanda echipament pe Acasa */
.pct-purchase-wrap { margin: 16px 0 20px; }
.pct-purchase-card {
    background: #fff;
    border: 2px solid #FFD100;
    border-radius: 14px;
    padding: 18px 20px;
    margin-bottom: 14px;
    box-shadow: 0 3px 10px rgba(0, 39, 107, 0.08);
}
.pct-purchase-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.pct-purchase-ico { font-size: 32px; line-height: 1; }
.pct-purchase-head strong {
    display: block;
    color: #00276B;
    font-size: 16px;
    line-height: 1.3;
}
.pct-purchase-sub { color: #64748b; font-size: 13px; margin-top: 2px; }
.pct-purchase-intro {
    background: #fef3c7;
    padding: 10px 12px;
    border-left: 3px solid #f59e0b;
    border-radius: 4px;
    color: #78350f;
    font-size: 13px;
    line-height: 1.5;
    margin: 0 0 14px;
}
.pct-purchase-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #f8fafc;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: all 0.15s;
    font-size: 14px;
}
.pct-purchase-item:hover { border-color: #003DA5; background: #f0f7ff; }
.pct-purchase-item input[type="checkbox"] {
    width: 20px; height: 20px; accent-color: #003DA5;
    cursor: pointer; flex-shrink: 0;
}
.pct-purchase-item strong { color: #00276B; }
.pct-purchase-item small { color: #64748b; font-weight: 400; }
.pct-purchase-size {
    padding: 4px 0 12px 42px;
    font-size: 13px;
}
.pct-purchase-size label { color: #475569; }
.pct-purchase-size select {
    margin-left: 8px;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #00276B;
    font-weight: 600;
    min-width: 140px;
}
.pct-purchase-size select:disabled {
    background: #f1f5f9; color: #94a3b8; cursor: not-allowed;
}
.pct-purchase-size select:not(:disabled):focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-purchase-note {
    font-size: 12px;
    color: #64748b;
    margin: 8px 0 12px;
}
.pct-purchase-note a { color: #003DA5; font-weight: 600; }
.pct-purchase-btn {
    background: #003DA5;
    color: #fff;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
}
.pct-purchase-btn:hover { background: #00276B; }
.pct-purchase-ok {
    display: flex;
    gap: 12px;
    align-items: center;
    background: #dcfce7;
    border: 2px solid #16a34a;
    color: #14532d;
    padding: 14px 18px;
    border-radius: 10px;
    margin: 14px 0;
}
.pct-purchase-ok-ico {
    background: #16a34a;
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 900;
    flex-shrink: 0;
}
.pct-purchase-ok strong { display: block; margin-bottom: 2px; }
.pct-purchase-ok div:last-child { font-size: 13px; opacity: 0.9; }

/* ============================================
 * v3.67.0 - Feed personalizat (module noi)
 * ============================================ */
.pct-feed-mod {
    background: #fff;
    border: 0.5px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 12px;
    border-top: 3px solid #003DA5;
}
.pct-feed-mod-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.pct-feed-mod-badge {
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    letter-spacing: 1px;
}
.pct-feed-mod-body {
    display: flex;
    align-items: center;
    gap: 12px;
}
.pct-feed-date {
    text-align: center;
    min-width: 44px;
    padding: 6px 0;
    border-right: 1px solid #e2e8f0;
    padding-right: 12px;
}
.pct-feed-date-num {
    font-size: 22px;
    font-weight: 900;
    color: #00276B;
    line-height: 1;
}
.pct-feed-date-mon {
    font-size: 10px;
    color: #64748b;
    letter-spacing: 1.5px;
    margin-top: 2px;
    font-weight: 700;
}
.pct-feed-mod-info { flex: 1; }
.pct-feed-mod-title {
    font-size: 14px;
    font-weight: 800;
    color: #00276B;
    line-height: 1.3;
}
.pct-feed-mod-sub {
    font-size: 12px;
    color: #64748b;
    margin-top: 2px;
}
.pct-feed-badge-ok {
    background: #dcfce7;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* v3.68.0 - Buton Plateste pe cardul de abonament */
.pct-sub-pay-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #fff !important;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
    margin-left: 8px;
    box-shadow: 0 2px 6px rgba(79, 70, 229, 0.35);
    transition: transform 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.pct-sub-pay-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 70, 229, 0.45);
    color: #fff !important;
    text-decoration: none !important;
}

/* v3.68.2 - Mini form absenta pe cardurile de meci/antrenament */
.pct-feed-absent-toggle {
    margin-top: 10px;
    padding: 0;
}
.pct-feed-absent-toggle > summary {
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
    color: #dc2626;
    padding: 8px 10px;
    background: #fef2f2;
    border-radius: 6px;
    border: 1px solid #fecaca;
    list-style: none;
    transition: background 0.15s;
    text-align: center;
}
.pct-feed-absent-toggle > summary::-webkit-details-marker { display: none; }
.pct-feed-absent-toggle > summary:hover { background: #fee2e2; }
.pct-feed-absent-toggle[open] > summary { background: #dc2626; color: #fff; border-color: #dc2626; }
.pct-feed-absent-form {
    margin-top: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.pct-feed-absent-form textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 13px;
    background: #fff;
    color: #00276B;
    resize: vertical;
    box-sizing: border-box;
}
.pct-feed-absent-form textarea:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-feed-absent-form button {
    background: #dc2626;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.15s;
}
.pct-feed-absent-form button:hover { background: #b91c1c; }

/* v3.68.2 - Card mare absenta lunga in tab Prezente */
.pct-absent-long-card {
    background: linear-gradient(135deg, #fff, #f8fafc);
    border: 2px solid #f59e0b;
    border-left-width: 5px;
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.1);
}
.pct-absent-long-head {
    display: flex;
    gap: 12px;
    margin-bottom: 14px;
    align-items: flex-start;
}
.pct-absent-long-ico { font-size: 34px; line-height: 1; flex-shrink: 0; }
.pct-absent-long-head strong {
    display: block;
    color: #00276B;
    font-size: 16px;
    margin-bottom: 4px;
}
.pct-absent-long-head div > div {
    color: #78350f;
    font-size: 13px;
    line-height: 1.4;
}
.pct-absent-long-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.pct-absent-long-form label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #00276B;
}
.pct-absent-long-form input,
.pct-absent-long-form select,
.pct-absent-long-form textarea {
    display: block;
    width: 100%;
    padding: 9px 11px;
    border: 1.5px solid #e5e7eb;
    border-radius: 6px;
    font-size: 14px;
    background: #fff;
    color: #00276B;
    margin-top: 4px;
    box-sizing: border-box;
}
.pct-absent-long-form input:focus,
.pct-absent-long-form select:focus,
.pct-absent-long-form textarea:focus {
    outline: none;
    border-color: #003DA5;
    box-shadow: 0 0 0 3px rgba(0, 61, 165, 0.15);
}
.pct-absent-long-btn {
    background: #f59e0b !important;
    color: #fff !important;
    border: none !important;
    padding: 12px 22px !important;
    border-radius: 8px !important;
    font-weight: 800 !important;
    font-size: 15px !important;
    cursor: pointer;
    width: 100%;
    transition: background 0.15s;
    margin-top: 6px;
}
.pct-absent-long-btn:hover { background: #d97706 !important; }

/* v3.69.0 - Card mesaj presedinte in Quick Actions */
.pct-qa-message {
    background: linear-gradient(135deg, #fef3c7, #fde68a) !important;
    border-left: 4px solid #f59e0b !important;
    color: #78350f !important;
    text-decoration: none !important;
}
.pct-qa-message:hover {
    background: linear-gradient(135deg, #fde68a, #fcd34d) !important;
    transform: translateY(-1px);
}
.pct-qa-message .pct-qa-label { color: #78350f !important; }
.pct-qa-message small { color: #92400e !important; opacity: 0.9; }

/* ============================================
 * v3.70.1 - Polish UX
 * ============================================ */

/* Viza URGENTA — rosu tare (<=3 zile) */
.pct-qa-med-critical {
    background: linear-gradient(135deg, #fee2e2, #fecaca) !important;
    border-left: 5px solid #dc2626 !important;
    animation: pctPulseCritical 2.2s ease-in-out infinite;
}
.pct-qa-med-critical .pct-qa-label {
    color: #7f1d1d !important;
    font-weight: 900 !important;
    letter-spacing: 0.3px;
}
.pct-qa-med-critical small { color: #991b1b !important; font-weight: 700; }
@keyframes pctPulseCritical {
    0%, 100% { box-shadow: 0 2px 6px rgba(220, 38, 38, 0.15); }
    50%      { box-shadow: 0 4px 14px rgba(220, 38, 38, 0.45); }
}

/* Header „Bună, Valentin!" mai mic + fără linie galbenă enormă */
.pct-fe-dashboard h2 {
    font-size: 22px !important;
    padding-bottom: 8px !important;
    border-bottom: 2px solid #FFC72C !important;
    margin-bottom: 16px !important;
    letter-spacing: 0.3px;
}

/* Card abonament mai compact */
.pct-sub-card { margin-bottom: 14px !important; }
.pct-sub-head { padding: 8px 16px !important; }
.pct-sub-body { padding: 12px 16px !important; }
.pct-sub-tier { gap: 4px !important; }
.pct-sub-tier-name { font-size: 20px !important; }
.pct-sub-tier-meta { font-size: 12px !important; }

/* Badge secție pe cardul copilului */
.pct-fe-child h3 .pct-section-badge {
    vertical-align: middle;
    margin-left: 8px;
    text-transform: none;
    letter-spacing: 0.2px;
}
