.challenge-tabs-container {
    width: 100%;
    font-family: inherit;
}

/* Nav Styles */
.challenge-tabs-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
    padding-bottom: 10px;
}

.challenge-tab-btn {
    padding: 12px 20px;
    background: #f7f7f7;
    border: 1px solid #eaeaea;
    color: #333;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 4px;
}

.challenge-tab-btn:hover {
    background: #eeeeee;
}

.challenge-tab-btn.active {
    background: #000;
    color: #fff;
    border-color: #000;
}

.lock-indicator {
    font-size: 12px;
}

/* Content Panel Styles */
.challenge-tabs-content {
    background: #fff;
    padding: 25px;
    border: 1px solid #eaeaea;
    border-radius: 6px;
    min-height: 200px;
}

.challenge-tab-panel {
    animation: fadeInTab 0.4s ease;
}

@keyframes fadeInTab {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Flex Grid Grid Layout */
.challenge-grid-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: flex-start;
}

.challenge-media-column {
    flex: 1 1 300px;
    max-width: 100%;
}

.challenge-featured-img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    object-fit: cover;
}

.challenge-details-column {
    flex: 2 1 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.challenge-lesson-text {
    line-height: 1.6;
    color: #444;
}

.challenge-audio-wrapper audio,
.challenge-audio-wrapper iframe {
    width: 100%;
    border-radius: 8px;
}

/* Action Buttons */
.challenge-buttons-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.challenge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.challenge-btn-primary {
    background-color: #000;
    color: #fff;
}

.challenge-btn-primary:hover {
    background-color: #333;
}

.challenge-btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.challenge-btn-secondary:hover {
    background-color: #e0e0e0;
}

/* Lock Screen UI styling */
.challenge-lock-screen {
    text-align: center;
    padding: 40px 20px;
    border: 2px dashed #ddd;
    border-radius: 8px;
    background: #fafafa;
}

.challenge-lock-icon {
    font-size: 48px;
    color: #888;
    margin-bottom: 15px;
}

.challenge-lock-icon svg {
    width: 48px;
    height: 48px;
    fill: #888;
}

.challenge-lock-message {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
}

.challenge-unlock-time-hint {
    font-size: 13px;
    color: #777;
    margin: 0;
}

/* Editor specific Notice */
.editor-lock-notice {
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    color: #856404;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 4px;
    font-size: 13px;
}
