/* Results Manager Button States */
.smc-button:disabled,
.smc-button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #999999 !important;
}

.smc-button:disabled:hover,
.smc-button[disabled]:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
    border-color: #999999 !important;
}

/* Results Manager Completion Notice */
.smc-completion-notice {
    margin-top: 15px;
    padding: 12px 15px;
    border-radius: 4px;
    border-left: 4px solid;
}

.smc-notice-success {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
}

/* Competition Status Badge - New Design */
.smc-competition-status-badge {
    font-size: 14px;
    border-radius: 1rem;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    white-space: nowrap;
    border: 1px solid;
    width: 155px;
}

.smc-competition-status-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.smc-competition-status-badge svg {
    margin-right: 6px;
    vertical-align: middle;
}

/* Completed Status - Green */
.smc-competition-status-badge.smc-status-completed {
    background: linear-gradient(135deg, #e8f5e9 0%, #f1f8f6 100%);
    border-color: #4caf50;
    color: #2e7d32;
}

/* Active Status - Blue */
.smc-competition-status-badge.smc-status-active {
    background: linear-gradient(135deg, #e3f2fd 0%, #f0f7ff 100%);
    border-color: #2196f3;
    color: #0d47a1;
}

/* Draft Status - Gray */
.smc-competition-status-badge.smc-status-draft {
    background: linear-gradient(135deg, #f5f5f5 0%, #fafafa 100%);
    border-color: #9e9e9e;
    color: #424242;
}

/* Scheduled Status - Orange */
.smc-competition-status-badge.smc-status-scheduled {
    background: linear-gradient(135deg, #fff3e0 0%, #fff8f0 100%);
    border-color: #ff9800;
    color: #e65100;
}

/* Cancelled Status - Red */
.smc-competition-status-badge.smc-status-cancelled {
    background: linear-gradient(135deg, #ffebee 0%, #fff5f5 100%);
    border-color: #f44336;
    color: #c62828;
}

/* Archived Status - Purple */
.smc-competition-status-badge.smc-status-archived {
    background: linear-gradient(135deg, #ede7f6 0%, #f5f3f7 100%);
    border-color: #9c27b0;
    color: #6a1b9a;
}
.smc-button-custom {

    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
    box-shadow: none;
}
.smc-button-custom:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
/* PDF Download Button */
.smc-simple-pdf-download {
    background-color: var(--e-global-color-primary);
    color: var(--e-global-color-8054e71);
    font-size: 14px;
    border-radius: 12px;
    padding: 9.8px 8px !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    opacity: 1;
    transform: translateY(0);
    box-shadow: none;
}

.smc-simple-pdf-download:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.smc-simple-pdf-download:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.smc-simple-pdf-download .smc-pdf-icon {
    margin-right: 8px;
    vertical-align: middle;
}

.smc-simple-pdf-download .smc-btn-text {
    display: inline-block;
}

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

.smc-simple-pdf-download .smc-btn-loading.active {
    display: inline-block;
}

.smc-simple-pdf-download .smc-loading-spinner {
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

body.smc-modal-open {
    overflow: hidden;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Cancel Event Button */
.smc-cancel-button {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    color: white;
    font-size: 14px;
    border-radius: 12px;
    padding: 10px 20px !important;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    line-height: 1.5;
    box-shadow: 0 2px 4px rgba(244, 67, 54, 0.3);
}

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

.smc-cancel-button svg {
    margin-right: 8px;
}

/* Cancel Event Modal */
.smc-cancel-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smc-cancel-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.smc-cancel-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.smc-cancel-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e5e5e5;
}

.smc-cancel-modal-header h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
    font-weight: 600;
}

.smc-cancel-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 8px 2px 8px !important;
    color: #999;
    transition: color 0.2s ease;
}

.smc-cancel-modal-close:hover {
    color: #333;
}

.smc-cancel-modal-body {
    padding: 24px;
}

.smc-cancel-modal-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 20px 24px;
    border-top: 1px solid #e5e5e5;
}

/* Cancel Form */
.smc-cancel-form .smc-form-group {
    margin-bottom: 20px;
}

.smc-cancel-form .smc-form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.smc-cancel-form .smc-required {
    color: #f44336;
}

.smc-cancel-form .smc-form-select,
.smc-cancel-form .smc-form-textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.smc-cancel-form .smc-form-select:focus,
.smc-cancel-form .smc-form-textarea:focus {
    outline: none;
    border-color: #4b92af;
    box-shadow: 0 0 0 3px rgba(75, 146, 175, 0.1);
}

.smc-cancel-form .smc-form-textarea {
    resize: vertical;
    min-height: 80px;
}

