/* Container Layout */
.task-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Navigation */
.navigation-bar {
    margin-bottom: 2rem;
}

.task-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 2rem;
    text-align: center;
}

/* Content Sections */
.content-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 2rem;
    overflow: hidden;
}

.content-header {
    background: linear-gradient(45deg, #374998, #2c3a7a);
    color: white;
    padding: 1rem 1.5rem;
    margin: 0;
    font-size: 1.25rem;
    font-weight: 500;
}

.description-style {
    padding: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #495057;
}

/* Code Display */
.code-display {
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}

.code-block {
    margin: 0;
    padding: 1rem;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    font-family: 'Source Code Pro', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
}

/* Task Actions */
.task-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 2rem 0;
    gap: 1rem;
    flex-wrap: wrap;
}

.task-actions .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.task-actions .btn:hover {
    transform: translateY(-1px);
}

/* Completion Message */
.completion-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #fff3cd;
    border-radius: 8px;
    color: #856404;
    font-weight: 500;
}

.completion-message i {
    font-size: 1.25rem;
}

/* Video Link */
.video-link {
    padding: 1rem 1.5rem;
    border-top: 1px solid #e9ecef;
}

.video-link .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.video-link .btn:hover {
    transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .task-container {
        padding: 1rem;
    }

    .task-title {
        font-size: 2rem;
    }

    .task-actions {
        flex-direction: column;
    }

    .task-actions .btn {
        width: 100%;
        justify-content: center;
    }
} 