/* ================================================
   FRONTEND SUBMIT FORM STYLES
   ================================================ */

.pr-submit-form {
    max-width: 1000px;
    margin: 40px auto;
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.pr-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin: 30px 0;
}

.pr-form-column h3 {
    margin: 0 0 25px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid #e67e22;
    color: #2c3e50;
    font-size: 20px;
}

.pr-form-group {
    margin-bottom: 25px;
}

.pr-form-group.required label::after {
    content: '';
}

.pr-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
}

.pr-required {
    color: #e74c3c;
    margin-left: 4px;
}

.pr-input,
.pr-select,
.pr-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s;
    font-family: inherit;
}

.pr-input:focus,
.pr-select:focus,
.pr-textarea:focus {
    outline: none;
    border-color: #e67e22;
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.pr-textarea {
    resize: vertical;
    min-height: 120px;
}

.pr-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pr-checkbox-list {
    background: #f8f9fa;
    border: 2px solid #e1e4e8;
    border-radius: 8px;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
}

.pr-checkbox-label {
    display: block;
    padding: 8px 12px;
    margin-bottom: 5px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    font-size: 14px;
}

.pr-checkbox-label:hover {
    background: rgba(230, 126, 34, 0.1);
}

.pr-checkbox-label input[type="checkbox"] {
    margin-right: 10px;
    cursor: pointer;
}

.pr-form-hint {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #7f8c8d;
    font-style: italic;
}

.pr-form-actions {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f2f5;
    text-align: right;
}

.pr-btn {
    display: inline-block;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.pr-btn-primary {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.pr-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

.pr-btn-secondary {
    background: #f8f9fa;
    color: #2c3e50;
    border: 2px solid #e1e4e8;
}

.pr-btn-secondary:hover {
    background: #e9ecef;
    border-color: #cbd2d9;
}

.pr-notice {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 600;
}

.pr-notice-error {
    background: #fdf2f2;
    border-left: 4px solid #e74c3c;
    color: #e74c3c;
}

.pr-notice-success {
    background: #eafaf1;
    border-left: 4px solid #27ae60;
    color: #27ae60;
}

.pr-preview-card {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 10px;
    border: 2px solid #e1e4e8;
}

.pr-preview-card h3 {
    margin: 0 0 15px 0;
    color: #2c3e50;
}

.pr-preview-meta > div {
    padding: 8px 0;
    color: #7f8c8d;
}

/* Responsive */
@media (max-width: 768px) {
    .pr-submit-form {
        padding: 25px;
    }
    
    .pr-form-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pr-form-row {
        grid-template-columns: 1fr;
    }
    
    .pr-form-actions {
        text-align: center;
    }
}

/* ================================================
   ROLLE STATS WIDGET
   ================================================ */

.pr-role-stats {
    padding: 20px;
}

.pr-role-stats .stat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.pr-role-stats .stat-item {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
}

.pr-role-stats .stat-value {
    font-size: 28px;
    font-weight: 800;
    color: #e67e22;
    margin-bottom: 5px;
}

.pr-role-stats .stat-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #7f8c8d;
    font-weight: 600;
}

.pr-role-stats .top-attendees {
    margin-top: 25px;
}

.pr-role-stats .top-attendees h4 {
    margin: 0 0 15px 0;
    font-size: 14px;
    text-transform: uppercase;
    color: #2c3e50;
}

.pr-role-stats .top-attendees ol {
    list-style: none;
    counter-reset: item;
    padding: 0;
    margin: 0;
}

.pr-role-stats .top-attendees li {
    counter-increment: item;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin-bottom: 8px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.pr-role-stats .top-attendees li::before {
    content: counter(item);
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    background: #e67e22;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
    margin-right: 12px;
}

.pr-role-stats .badge {
    background: #eafaf1;
    color: #27ae60;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

/* ================================================
   ITEM DETAILS RESPONSIVE FIX
   ================================================ */

.pr-item-details {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--pr-meta);
    flex-wrap: wrap;
}

.pr-item-details span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* ================================================
   ADMIN STYLES
   ================================================ */

.pr-admin-metabox {
    padding: 20px;
}

.pr-admin-section {
    margin-bottom: 30px;
}

.pr-admin-section h4 {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd;
    color: #2c3e50;
}

.pr-admin-field {
    margin-bottom: 20px;
}

.pr-admin-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.pr-admin-field input[type="text"],
.pr-admin-field input[type="date"],
.pr-admin-field input[type="time"],
.pr-admin-field select {
    width: 100%;
    padding: 8px 12px;
}

.pr-role-checkboxes {
    background: #fafafa;
    border: 1px solid #ddd;
    padding: 15px;
    max-height: 200px;
    overflow-y: auto;
    border-radius: 4px;
}

.pr-role-checkboxes label {
    display: block;
    padding: 5px 0;
    font-weight: normal !important;
}
