/* Radio Group */
.smc-radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.smc-radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.smc-radio-label:hover {
    border-color: #4b92af;
    background: #f9f9f9;
}

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

.smc-radio-label input[type="radio"]:checked + span {
    font-weight: 600;
    color: #4b92af;
}

/* Checkbox Label */
.smc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    padding: 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.smc-checkbox-label:hover {
    border-color: #4b92af;
    background: #f9f9f9;
}

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

/* Button Styles */
.smc-button-danger {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.smc-button-danger:hover {
    background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.smc-button-danger:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Cancel Response Messages */
.smc-cancel-response {
    padding: 12px;
    border-radius: 6px;
    margin-top: 16px;
    font-size: 0.95rem;
}

.smc-cancel-response.success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.smc-cancel-response.error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* PDF Round Selector Modal */
.smc-pdf-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: none;
    align-items: center;
    justify-content: center;
}

.smc-pdf-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.smc-pdf-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 18px;
    padding: 32px;
    width: min(520px, 92vw);
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
    animation: modalSlideIn 0.35s ease;
}

.smc-pdf-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}

.smc-pdf-modal-eyebrow {
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    color: #94a3b8;
    margin: 0 0 6px;
    font-weight: 600;
}

.smc-pdf-modal-header h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #0f172a;
}

.smc-pdf-modal-subtitle {
    margin: 8px 0 0;
    color: #475569;
    font-size: 0.95rem;
}

.smc-pdf-modal-close {
    background: #f8fafc;
    border: none;
    border-radius: 999px;
    width: fit-content;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.smc-pdf-modal-close:hover {
    background: #e2e8f0;
    transform: translateY(-1px);
}

.smc-pdf-form .smc-form-group {
    margin-bottom: 20px;
}

.smc-pdf-form .smc-form-label {
    display: block;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
}

.smc-pdf-form .smc-form-select {
    width: 100%;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    font-size: 1rem;
    background: #ffffff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smc-pdf-form .smc-form-select:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.2);
    outline: none;
}

.smc-field-helper {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 6px;
}

.smc-pdf-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 16px;
}

.smc-pdf-modal-response {
    display: none;
    margin-bottom: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.smc-pdf-modal-response.success {
    background: #ecfdf3;
    border-color: #34d399;
    color: #166534;
}

.smc-pdf-modal-response.error {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.smc-pdf-modal-download .smc-btn-loading {
    display: none;
    margin-left: 8px;
}

.smc-pdf-modal-download .smc-btn-loading.active {
    display: inline-flex;
}

@media (max-width: 650px) {
    .smc-pdf-modal-header {
        flex-direction: column;
        gap: 12px;
    }

    .smc-pdf-modal-footer {
        flex-direction: column-reverse;
    }

    .smc-pdf-modal-footer .smc-button {
        width: 100%;
        justify-content: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .smc-header-info-item {
        font-size: 0.9rem !important;
        gap: 0.35rem !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;
    }

    .smc-cancel-modal-content {
        width: 95%;
        max-height: 95vh;
    }

    .smc-cancel-modal-header,
    .smc-cancel-modal-body,
    .smc-cancel-modal-footer {
        padding: 16px;
    }

    .smc-cancel-modal-header h3 {
        font-size: 1.25rem;
    }

    .smc-cancel-modal-footer {
        flex-direction: column-reverse;
    }

    .smc-cancel-modal-footer .smc-button {
        width: 100%;
    }
}

/* ================================================================
   COMPETITION HEADER SHORTCODE
   Variation 2: Single Line with Icons
   ================================================================ */

.smc-competition-header {
    max-width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    position: relative;
    margin-bottom: 2rem;
}

.smc-header-bg {
    position: absolute;
    inset: 0;
    background-image: url('https://sportsmeister.com.au/wp-content/uploads/Sports-Meister-Kids-Celebrationg.webp');
    background-size: cover;
    background-position: center top;
}

.smc-header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(55,0,60,0.85) 0%, rgba(0,0,0,0.8) 100%);
}

.smc-header-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    text-align: center;
}

.smc-header-title {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    margin: 0 0 1rem 0;
}

/* Info Line - Icons Inline */
.smc-header-info-line {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.smc-header-info-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}

.smc-header-info-item svg {
    width: 1.1rem;
    height: 1.1rem;
    opacity: 0.7;
}

/* Action Buttons */
.smc-header-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.smc-header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 150ms cubic-bezier(0.4, 0, 0.2, 1);
}

.smc-header-btn svg {
    width: 18px;
    height: 18px;
}

.smc-header-btn--primary {
    background: white;
    color: #0f172a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.smc-header-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #0f172a;
}

.smc-header-btn--secondary {
    background: rgba(255,255,255,0.15);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
}

.smc-header-btn--secondary:hover {
    background: rgba(255,255,255,0.25);
    color: white;
}

.smc-header-btn--danger {
    background: rgba(239,68,68,0.2);
    color: #fca5a5;
    border: 1.5px solid rgba(239,68,68,0.3);
}

.smc-header-btn--danger:hover {
    background: rgba(239,68,68,0.35);
    color: #fca5a5;
}

/* Competition Header Responsive */
@media (max-width: 600px) {
    .smc-competition-header {
        border-radius: 16px;
    }

    .smc-header-content {
        padding: 1.5rem;
    }

    .smc-header-title {
        font-size: 1.25rem;
    }

    .smc-header-info-line {
        gap: 0.75rem;
    }

    .smc-header-actions {
        flex-direction: column;
        gap: 0.4rem;
    }

    .smc-header-btn {
        width: 100%;
        padding: 0.7rem 1rem;
        font-size: 0.8rem;
    }
}
